diff options
| author | Adam Soltys <[email protected]> | 2014-08-05 17:26:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-08-05 17:26:27 -0700 |
| commit | 17292a0c7804540a64b20b551a8e2479a7beef04 (patch) | |
| tree | 5a5c525753d3048c55cfd9190099b1f65af8a2c1 /src/app.coffee | |
| parent | 91da53cb29966298074e63f89b60e8401444781d (diff) | |
| download | coinos-server-17292a0c7804540a64b20b551a8e2479a7beef04.tar.gz coinos-server-17292a0c7804540a64b20b551a8e2479a7beef04.zip | |
Update routes
Diffstat (limited to 'src/app.coffee')
| -rw-r--r-- | src/app.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.coffee b/src/app.coffee index e0930713..9fff6ab0 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -55,7 +55,7 @@ app.get('/users/new', users.new) app.post('/users', users.create) app.get('/:user/edit', authorize, users.edit) -app.post('/:user/update', authorize, users.update) +app.post('/:user', users.update) app.get('/:user/transactions.json', authorize, transactions.json) app.post('/:user/transactions', transactions.create) |
