From 9c2f15f0d5eccf46cb208a8b19fbf50e2f037954 Mon Sep 17 00:00:00 2001 From: Martin Broerse Date: Sun, 14 Sep 2014 09:42:12 +0200 Subject: [PATCH] Change this.store to this.get('store') --- app/routes/post.js | 2 +- app/routes/posts.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/routes/post.js b/app/routes/post.js index 5ae2ee40..0e229b6c 100644 --- a/app/routes/post.js +++ b/app/routes/post.js @@ -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); } }); \ No newline at end of file diff --git a/app/routes/posts.js b/app/routes/posts.js index cb0d1ed2..c689f4e6 100644 --- a/app/routes/posts.js +++ b/app/routes/posts.js @@ -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'); } -}); \ No newline at end of file +});