aboutsummaryrefslogtreecommitdiffstats
path: root/app.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app.coffee')
-rw-r--r--app.coffee5
1 files changed, 3 insertions, 2 deletions
diff --git a/app.coffee b/app.coffee
index dbd50851..f0e501d9 100644
--- a/app.coffee
+++ b/app.coffee
@@ -28,6 +28,7 @@ app.use(app.router)
routes =
"/": 'main/index'
"/about": 'main/about'
+ "/digibtc": 'main/digibtc'
"/exchangers": 'main/exchangers'
"/exchangers/join": 'main/join'
"/merchants": 'main/merchants'
@@ -79,8 +80,8 @@ app.post('/login', sessions.create)
app.get('/logout', sessions.destroy)
app.get('/:user/exists', users.exists)
-app.get('/:user.json', authorize, users.json)
-app.get('/:user', authorize, users.show)
+app.get('/:user.json', users.json)
+app.get('/:user', users.show)
app.get('/users/new', users.new)
app.post('/users', users.create)