From 8d5d79286e178dffcf49f8e6be8cfb9eacf27cdc Mon Sep 17 00:00:00 2001 From: pilsy Date: Wed, 23 Oct 2013 02:03:19 +1000 Subject: [PATCH] hotfix(routes): Don't include MongoController by default --- routes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes.js b/routes.js index 30ac276..4289dae 100644 --- a/routes.js +++ b/routes.js @@ -3,12 +3,12 @@ var passport = require('passport'); module.exports = function( app ) { var injector = app.get('injector'); - injector.inject( function ( ExampleController, UserController, MongoController, AccountController, RoleController, PermissionController ) { + injector.inject( function ( ExampleController, UserController, /* MongoController, */ AccountController, RoleController, PermissionController ) { app.all('/example/:action/:id?', ExampleController.attach()); app.all('/example/?:action?', ExampleController.attach()); - app.all('/mongo/:action/:id?', MongoController.attach()); - app.all('/mongo/?:action?', MongoController.attach()); + // app.all('/mongo/:action/:id?', MongoController.attach()); + // app.all('/mongo/?:action?', MongoController.attach()); // Some passport use // app.get('/auth/facebook', passport.authenticate('facebook', {