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

Commit dbe7213

Browse files
committed
Removed the Show User method
1 parent f358e81 commit dbe7213

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

app/controllers/users.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,6 @@ exports.create = function(req, res) {
6767
});
6868
};
6969

70-
/**
71-
* Show profile
72-
*/
73-
exports.show = function(req, res) {
74-
var user = req.profile;
75-
76-
res.render('users/show', {
77-
title: user.name,
78-
user: user
79-
});
80-
};
81-
8270
/**
8371
* Send User
8472
*/

config/routes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ module.exports = function(app, passport, auth) {
1414
}), users.session);
1515

1616
app.get('/users/me', users.me);
17-
app.get('/users/:userId', users.show);
1817

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

0 commit comments

Comments
 (0)