mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
11 lines
277 B
JavaScript
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');
|
||
|
})
|
||
|
});
|