Skip to content

Commit

Permalink
Don't authorize public calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Soltys committed Feb 28, 2013
1 parent 93a437f commit 99ae657
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ app.use(app.router)
routes =
"/": 'main/index'
"/about": 'main/about'
"/digibtc": 'main/digibtc'
"/exchangers": 'main/exchangers'
"/exchangers/join": 'main/join'
"/merchants": 'main/merchants'
Expand Down Expand Up @@ -79,8 +80,8 @@ app.post('/login', sessions.create)
app.get('/logout', sessions.destroy)

app.get('/:user/exists', users.exists)
app.get('/:user.json', authorize, users.json)
app.get('/:user', authorize, users.show)
app.get('/:user.json', users.json)
app.get('/:user', users.show)

app.get('/users/new', users.new)
app.post('/users', users.create)
Expand Down
Binary file added public/img/coffeebar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions views/main/digibtc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="row-fluid">
Send bitcoins to this address: 1SoLtySab29J2tAdF2x3PosjnwWF37wEY
</div>

0 comments on commit 99ae657

Please sign in to comment.