11 lines
200 B
JavaScript
11 lines
200 B
JavaScript
import Ember from 'ember';
|
|
|
|
const { Route, inject: { service }} = Ember;
|
|
|
|
export default Route.extend({
|
|
session: service('session'),
|
|
|
|
beforeModel() {
|
|
this.get('session').invalidate();
|
|
}
|
|
});
|