aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'controllers')
-rw-r--r--controllers/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/users.js b/controllers/users.js
index 6571b85..4b952f8 100644
--- a/controllers/users.js
+++ b/controllers/users.js
@@ -47,7 +47,7 @@ exports.create = function(req, res) {
var user = new User(req.body);
user.provider = 'local';
user.save(function(err) {
- if (err) return res.render('/signup', { errors: err.errors, user: user });
+ if (err) return res.render('signup', { errors: err.errors, user: user });
req.logIn(user, function(err) {
if (err) return next(err);
return res.redirect('/dashboard');