Complete passport setup

This commit is contained in:
Ben Ramey
2014-06-10 19:42:23 -05:00
parent 4915ad3233
commit fc9b789ad8
4 changed files with 65 additions and 5 deletions

View File

@@ -35,10 +35,13 @@ module.exports.routes = {
'/': {
view: 'home/index'
},
'/about': {
controller: 'staticPagesController',
action: 'about'
},
// static pages
'get /about': 'StaticPagesController.about',
// session
'post /login': 'SessionController.create',
'post /logout': 'SessionController.destroy',
/*
// But what if you want your home page to display