Removed dynamicHelpers comment
parent
ae2c6f7dce
commit
8f0e61c26b
7
app.js
7
app.js
|
@ -92,13 +92,6 @@ app.use(function(req, res) {
|
||||||
});
|
});
|
||||||
app.use(express.errorHandler());
|
app.use(express.errorHandler());
|
||||||
|
|
||||||
/*Helper function for CSRF
|
|
||||||
app.dynamicHelpers({
|
|
||||||
token: function(req, res) {
|
|
||||||
return req.session._csrf;
|
|
||||||
}
|
|
||||||
});*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Application routes.
|
* Application routes.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue