Created
October 21, 2014 20:25
-
-
Save treasonx/952a4dbba01bc2cd06fd to your computer and use it in GitHub Desktop.
Subapp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function imageUploadController(app, logger) { | |
var adminImages = express.Router(); | |
adminImages.use(administrator); | |
app.use('/adminImagesOrSomething', adminImages); | |
adminImages.get('/', function (req. resp) { | |
//will be admin here!!! yay! | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment