sacrificing a goat to ensure this doesn't come back to bite me

v1.18.x
Julian Lam 11 years ago
parent 5936c72f96
commit cf6acf6b41

@ -20,7 +20,6 @@ var nconf = require('nconf'),
function mainRoutes(app, middleware, controllers) {
app.get('/', middleware.buildHeader, controllers.home);
app.get('/api', controllers.home);
app.get('/api/home', controllers.home);
app.get('/login', middleware.redirectToAccountIfLoggedIn, middleware.buildHeader, controllers.login);
app.get('/api/login', middleware.redirectToAccountIfLoggedIn, controllers.login);

Loading…
Cancel
Save