initial commit
This commit is contained in:
11
app/controllers/application.js
Normal file
11
app/controllers/application.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Controller from '@ember/controller';
|
||||
import { service } from '@ember/service';
|
||||
import { action } from '@ember/object';
|
||||
|
||||
export default class ApplicationController extends Controller {
|
||||
@service session;
|
||||
|
||||
@action logout() {
|
||||
this.session.invalidate();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user