Ember: correcting code style

This commit is contained in:
Hannah Wolfe 2014-06-02 19:55:37 +01:00
parent beb078b52c
commit 03b54a8ef9

View File

@ -1,4 +1,4 @@
export default Ember.Route.extend({
var PostsPostRoute = Ember.Route.extend({
model: function (params) {
var post = this.modelFor('posts').findBy('id', params.post_id);
@ -9,3 +9,5 @@ export default Ember.Route.extend({
return post;
}
});
export default PostsPostRoute;