Skip to content

Commit

Permalink
Change this.store to this.get('store')
Browse files Browse the repository at this point in the history
  • Loading branch information
broerse committed Sep 14, 2014
1 parent ae57977 commit 9c2f15f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/routes/post.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from "ember";
export default Ember.Route.extend({
model: function(params) {
return this.store.find('post', params.post_id);
return this.get('store').find('post', params.post_id);
}
});
4 changes: 2 additions & 2 deletions app/routes/posts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from "ember";
export default Ember.Route.extend({
model: function() {
return this.store.find('post');
return this.get('store').find('post');
}
});
});

0 comments on commit 9c2f15f

Please sign in to comment.