mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Ember: correcting code style
This commit is contained in:
parent
beb078b52c
commit
03b54a8ef9
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
Loading…
Add table
Reference in a new issue