aboutsummaryrefslogtreecommitdiffstats
path: root/app.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2013-06-26 12:28:03 -0700
committerAdam Soltys <[email protected]>2013-06-26 12:28:03 -0700
commitc98803da99c8080218a484328b3d72d792ac4489 (patch)
tree78e29708016804decd8834ea1663ec9944042df2 /app.coffee
parent29650f3732856a8af1e9b23fd8df0cfa7d305745 (diff)
downloadcoinos-server-c98803da99c8080218a484328b3d72d792ac4489.tar.gz
coinos-server-c98803da99c8080218a484328b3d72d792ac4489.zip
Set default routes
Diffstat (limited to 'app.coffee')
-rw-r--r--app.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.coffee b/app.coffee
index e9880a45..d52a5e15 100644
--- a/app.coffee
+++ b/app.coffee
@@ -32,7 +32,9 @@ authorize = (req, res, next) ->
res.redirect('/login')
app.get('/', calculator.show)
-app.get('/setup', calculator.new)
+app.get('/register', users.new)
+app.get('/setup', calculator.setup)
+app.get('/calculator', calculator.show)
app.get('/ticker', calculator.ticker)
app.get('/login', sessions.new)