Ghost/core/client/app/services/session.js
Austin Burdine 87e54c0d54 deps: ember-simple-auth@1.0.0
closes #5951
- update to esa 1.0
2015-10-18 13:17:02 -05:00

11 lines
277 B
JavaScript

import Ember from 'ember';
import SessionService from 'ember-simple-auth/services/session';
export default SessionService.extend({
store: Ember.inject.service(),
user: Ember.computed(function () {
return this.get('store').findRecord('user', 'me');
})
});