ENH: Setting up esa, base template (#13)

Fixes #4
This commit is contained in:
Matthew Ryan Dillon 2017-08-30 06:06:31 -07:00 committed by GitHub
parent 75b75358cd
commit 253aac1fd4
27 changed files with 187 additions and 73 deletions

11
app/routes/logout.js Normal file
View file

@ -0,0 +1,11 @@
import Ember from 'ember';
const { Route, inject: { service }} = Ember;
export default Route.extend({
session: service('session'),
beforeModel() {
this.get('session').invalidate();
}
});