From dec12454289461e6851b3b7328b5a80f56ce4a98 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 22 Aug 2014 23:32:42 -0700 Subject: Log txids and prevent duplicates --- src/app.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.coffee') diff --git a/src/app.coffee b/src/app.coffee index 361a9a56..66ce32a5 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -73,11 +73,11 @@ app.get('/:user/edit', cache, authorize, users.edit) app.post('/:user', authorize, users.update) app.get('/:user/transactions.json', authorize, transactions.json) -app.post('/:user/transactions', authorize, transactions.create) +app.post('/:user/transactions', transactions.create) app.get('/:user/report', cache, authorize, transactions.index) app.get('/:user.json', authorize, users.json) -app.get('/:user', cache, authorize, users.show) +app.get('/:user', cache, users.show) app.use(require('connect-assets')(src: 'public')) -- cgit v1.2.3