I'm now transitioning to Ember Data 1.0 beta from 0.13.
And I want to use find method in Em.Object like below.
App.SessionManager = Em.Object.extend({
init: function() {
var self = this;
this.store.find('user', 1).then(function(user) {
self.set('user', user);
});;
},
});
How can I achive this?
In this document, using App.inject is suggested. But this can be applied to Ember.Object?