Skip to content

Commit

Permalink
Added set view options to layout false, because the jade inheritance …
Browse files Browse the repository at this point in the history
…doesn't work otherwise.
  • Loading branch information
Matthew Harrison authored and Matthew Harrison committed Feb 25, 2012
1 parent 34f1334 commit 5f87b93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/app/server.js
Expand Up @@ -8,6 +8,7 @@ var connect = require('connect')
var server = express.createServer();
server.configure(function(){
server.set('views', __dirname + '/views');
server.set('view options', { layout: false });
server.use(connect.bodyParser());
server.use(express.cookieParser());
server.use(express.session({ secret: "shhhhhhhhh!"}));
Expand Down

0 comments on commit 5f87b93

Please sign in to comment.