mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 09:02:33 +00:00
started defining workout schema
This commit is contained in:
@@ -5,11 +5,6 @@
|
||||
var notLoggedIn = require('./middleware/not_logged_in');
|
||||
|
||||
module.exports = function(app) {
|
||||
// app.use(function(req, res) {
|
||||
// console.log("session " + req.session + " - " + JSON.stringify(req.session));
|
||||
// res.locals.session = req.session;
|
||||
// });
|
||||
|
||||
app.get('/session/new', notLoggedIn, function(req, res) {
|
||||
res.render('session/new', {title: "Log in"});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user