Permalink
Browse files

Added set view options to layout false, because the jade inheritance …

…doesn't work otherwise.
  • Loading branch information...
1 parent 34f1334 commit 5f87b9302d4a372bc50a704cbb08f7b6458d6dbd Matthew Harrison committed Feb 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 templates/app/server.js
View
@@ -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!"}));

0 comments on commit 5f87b93

Please sign in to comment.