diff options
| -rw-r--r-- | app.js | 2 | ||||
| -rw-r--r-- | src/app.coffee | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -132,7 +132,7 @@ app.get('/:user/report', cache, authorize, transactions.index); - app.get('/:user.json', authorize, users.json); + app.get('/:user.json', users.json); app.get('/:user', cache, users.show); diff --git a/src/app.coffee b/src/app.coffee index 66ce32a5..94f6cf61 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -76,7 +76,7 @@ app.get('/:user/transactions.json', authorize, transactions.json) app.post('/:user/transactions', transactions.create) app.get('/:user/report', cache, authorize, transactions.index) -app.get('/:user.json', authorize, users.json) +app.get('/:user.json', users.json) app.get('/:user', cache, users.show) app.use(require('connect-assets')(src: 'public')) |
