Permalink
Browse files

Merge pull request #62 from randylubin/master

(express-mongodb) Corrected the app.get for individual blog posts
  • Loading branch information...
2 parents e6e9dd3 + 442c95d commit 74161a013112da7a6d2f286538cd0edd1fe351eb @creationix committed Mar 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 articles/express-mongodb/app-final.js
@@ -61,7 +61,7 @@ app.post('/blog/new', function(req, res){
//getBlogs
app.get('/blog/:id', function(req, res) {
articleProvider.findById(req.params.id, function(error, article) {
- res.render('blog_show.jade',
+ res.render('blog_show-final.jade',
{ locals: {
title: article.title,
article:article

0 comments on commit 74161a0

Please sign in to comment.