Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #62 from randylubin/master

(express-mongodb) Corrected the app.get for individual blog posts
  • Loading branch information...
commit 74161a013112da7a6d2f286538cd0edd1fe351eb 2 parents e6e9dd3 + 442c95d
@creationix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  articles/express-mongodb/app-final.js
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.