diff options
| author | Adam Soltys <[email protected]> | 2013-02-28 08:13:14 +0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2013-02-28 08:13:23 +0400 |
| commit | 99ae6573a4153ddb6858d3561cd9cf6a7ea5b2a3 (patch) | |
| tree | 07e37dae62afe5215b4bf39ab86d629d943c91ea /app.coffee | |
| parent | 93a437fe56e53f670bfc883605d95ecd4ddfc9dc (diff) | |
| download | coinos-server-99ae6573a4153ddb6858d3561cd9cf6a7ea5b2a3.tar.gz coinos-server-99ae6573a4153ddb6858d3561cd9cf6a7ea5b2a3.zip | |
Don't authorize public calculator
Diffstat (limited to 'app.coffee')
| -rw-r--r-- | app.coffee | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |
