0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/app/services/session.js

11 lines
277 B
JavaScript
Raw Normal View History

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');
})
});