From c98803da99c8080218a484328b3d72d792ac4489 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 26 Jun 2013 12:28:03 -0700 Subject: Set default routes --- app.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app.coffee') 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) -- cgit v1.2.3