Skip to content

Commit

Permalink
去掉了不通用的修改
Browse files Browse the repository at this point in the history
  • Loading branch information
alsotang committed Dec 24, 2013
1 parent 539ec72 commit da311a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ module.exports = function (app) {
app.get('/', site.index);

// sign up, login, logout
// app.get('/signup', sign.showSignup);
// app.post('/signup', sign.signup);
app.get('/signup', passport.authenticate('github'));
app.get('/signup', sign.showSignup);
app.post('/signup', sign.signup);
app.get('/signout', sign.signout);
app.get('/signin', sign.showLogin);
app.post('/signin', sign.login);
Expand Down

0 comments on commit da311a8

Please sign in to comment.