Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Removed the Show User method
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Dec 3, 2013
1 parent f358e81 commit dbe7213
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions app/controllers/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,6 @@ exports.create = function(req, res) {
});
};

/**
* Show profile
*/
exports.show = function(req, res) {
var user = req.profile;

res.render('users/show', {
title: user.name,
user: user
});
};

/**
* Send User
*/
Expand Down
1 change: 0 additions & 1 deletion config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = function(app, passport, auth) {
}), users.session);

app.get('/users/me', users.me);
app.get('/users/:userId', users.show);

//Setting the facebook oauth routes
app.get('/auth/facebook', passport.authenticate('facebook', {
Expand Down

0 comments on commit dbe7213

Please sign in to comment.