diff options
| author | Adam Soltys <[email protected]> | 2013-06-26 12:28:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2013-06-26 12:28:03 -0700 |
| commit | c98803da99c8080218a484328b3d72d792ac4489 (patch) | |
| tree | 78e29708016804decd8834ea1663ec9944042df2 /app.coffee | |
| parent | 29650f3732856a8af1e9b23fd8df0cfa7d305745 (diff) | |
| download | coinos-server-c98803da99c8080218a484328b3d72d792ac4489.tar.gz coinos-server-c98803da99c8080218a484328b3d72d792ac4489.zip | |
Set default routes
Diffstat (limited to 'app.coffee')
| -rw-r--r-- | app.coffee | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |
