13 lines
282 B
JavaScript
13 lines
282 B
JavaScript
import Controller from '@ember/controller';
|
|
import { action } from '@ember/object';
|
|
import config from 'kredits-web/config/environment';
|
|
|
|
export default class IndexController extends Controller {
|
|
|
|
@action
|
|
connectGithub () {
|
|
window.location = config.githubConnectUrl;
|
|
}
|
|
|
|
}
|