mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
87e54c0d54
closes #5951 - update to esa 1.0
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');
|
|
})
|
|
});
|