add login route

This commit is contained in:
catarak 2016-05-24 01:20:59 -04:00
parent ba1cf0c644
commit 2f474f3aff
1 changed files with 0 additions and 7 deletions

View File

@ -1,10 +1,7 @@
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);
@ -13,8 +10,4 @@ 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