0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Issue #246 part 12

-  renamed single.hbs to post.hbs
- casper updated to match
This commit is contained in:
Hannah Wolfe 2013-07-11 17:57:12 +01:00
parent f6ae99a0ba
commit 316a50b7ff
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 09295abe4078feef32f4a5a6325d20d3011b14bf
Subproject commit 97a24a07fbb6574ff3794b5eaa08286977ff81a4

View file

@ -22,7 +22,7 @@ frontendControllers = {
'single': function (req, res) {
api.posts.read({'slug': req.params.slug}).then(function (post) {
ghost.doFilter('prePostsRender', post.toJSON(), function (post) {
res.render('single', {post: post});
res.render('post', {post: post});
});
});
}