Skip to content
Snippets Groups Projects
Commit 29085e6c authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

make the production flag avaiable to all templates

parent ce4236d1
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,8 @@ function internal_redirector(new_url) {
function router(app) {
app.set("views", __dirname + '/views');
app.set('view options', { production: exports.production });
// this should probably be an internal redirect
// as soon as relative paths are figured out.
app.get('/sign_in', function(req, res, next ){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment