mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Ember: correcting code style
This commit is contained in:
parent
beb078b52c
commit
03b54a8ef9
@ -1,4 +1,4 @@
|
|||||||
export default Ember.Route.extend({
|
var PostsPostRoute = Ember.Route.extend({
|
||||||
model: function (params) {
|
model: function (params) {
|
||||||
var post = this.modelFor('posts').findBy('id', params.post_id);
|
var post = this.modelFor('posts').findBy('id', params.post_id);
|
||||||
|
|
||||||
@ -9,3 +9,5 @@ export default Ember.Route.extend({
|
|||||||
return post;
|
return post;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export default PostsPostRoute;
|
Loading…
Reference in New Issue
Block a user