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 +++- views/calculator/setup.html | 2 +- views/users/new.html | 2 +- 3 files changed, 5 insertions(+), 3 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) diff --git a/views/calculator/setup.html b/views/calculator/setup.html index ca5626db..36aa0ef4 100644 --- a/views/calculator/setup.html +++ b/views/calculator/setup.html @@ -11,7 +11,7 @@
-

Calculator Setup

+

Bitcoin Point of Sale Calculator

diff --git a/views/users/new.html b/views/users/new.html index be50f47c..844b06c4 100644 --- a/views/users/new.html +++ b/views/users/new.html @@ -11,7 +11,7 @@
-

New User Account

+

Register

-- cgit v1.2.3