aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.js2
-rw-r--r--src/app.coffee2
2 files changed, 2 insertions, 2 deletions
diff --git a/app.js b/app.js
index 48bd8092..aabe19f4 100644
--- a/app.js
+++ b/app.js
@@ -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'))