aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-08-22 23:32:42 -0700
committerAdam Soltys <[email protected]>2014-08-22 23:32:42 -0700
commitdec12454289461e6851b3b7328b5a80f56ce4a98 (patch)
tree394b18ad2fe0d875a689e8acee4d918397845300 /src/app.coffee
parent11390ded587c17ca06535c0826f2d2da94417d93 (diff)
downloadcoinos-server-dec12454289461e6851b3b7328b5a80f56ce4a98.tar.gz
coinos-server-dec12454289461e6851b3b7328b5a80f56ce4a98.zip
Log txids and prevent duplicates
Diffstat (limited to 'src/app.coffee')
-rw-r--r--src/app.coffee4
1 files changed, 2 insertions, 2 deletions
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'))