aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-09-02 01:53:43 -0700
committerAdam Soltys <[email protected]>2014-09-02 16:11:15 -0700
commit2f65c2ad5d2c4b9fd2ec143aedf60cce01eef660 (patch)
tree1a664d4db6fb21d351d761cc89b3c05985421c56 /app.js
parent8426aa8ef3a97d8d8fda7eb70bab8efe74b3c3f3 (diff)
downloadcoinos-server-2f65c2ad5d2c4b9fd2ec143aedf60cce01eef660.tar.gz
coinos-server-2f65c2ad5d2c4b9fd2ec143aedf60cce01eef660.zip
Start work on profile page
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 04c8253a..de2cccf7 100644
--- a/app.js
+++ b/app.js
@@ -123,6 +123,8 @@
app.get('/verify/:token', users.verify);
+ app.get('/:user/profile', authorize, users.profile);
+
app.get('/:user/edit', authorize, users.edit);
app.post('/:user', authorize, users.update);