Ember code updates

This commit is contained in:
Râu Cao
2023-08-14 17:50:10 +02:00
parent 3f080cf553
commit 0ecc4079c2
2 changed files with 9 additions and 14 deletions
+6 -8
View File
@@ -1,14 +1,12 @@
import Controller from '@ember/controller';
import { action } from '@ember/object';
import config from 'kredits-web/config/environment';
export default Controller.extend({
actions: {
connectGithub () {
window.location = config.githubConnectUrl;
}
export default class IndexController extends Controller {
@action
connectGithub () {
window.location = config.githubConnectUrl;
}
});
}