13 lines
323 B
JavaScript
13 lines
323 B
JavaScript
import Ember from 'ember';
|
|
import ApplicationRouteMixin from 'simple-auth/mixins/application-route-mixin';
|
|
|
|
export default Ember.Route.extend(ApplicationRouteMixin, {
|
|
actions: {
|
|
invalidateSession: function() {
|
|
this.get('session').invalidate();
|
|
},
|
|
loading: function() {
|
|
return true;
|
|
},
|
|
}
|
|
});
|