9 lines
281 B
JavaScript
9 lines
281 B
JavaScript
import Ember from 'ember';
|
|
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
|
|
|
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|
model: function() {
|
|
let user = this.get('session.secure.currentUser');
|
|
console.log(user);
|
|
}
|
|
});
|