add react router

This commit is contained in:
catarak 2016-05-18 13:37:59 -04:00
parent eec7987c70
commit ba1cf0c644
1 changed files with 7 additions and 0 deletions

View File

@ -1,7 +1,10 @@
import { Router } from 'express';
import * as SessionController from '../controllers/session.controller';
import passport from 'passport';
<<<<<<< HEAD
=======
>>>>>>> add react router
const router = new Router();
router.route('/login').get(SessionController.newSession);
@ -10,4 +13,8 @@ router.route('/login').post(SessionController.createSession);
router.route('/logout').get(SessionController.destroySession);
<<<<<<< HEAD
//TODO add github authentication stuff
=======
//TODO add github authentication stuff
>>>>>>> add react router