diff options
Diffstat (limited to 'app.coffee')
| -rw-r--r-- | app.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,6 @@ engines = require('consolidate') passport = require('passport') bcrypt = require('bcrypt') db = require("redis").createClient() -config = require('./config') app = express() LocalStrategy = require('passport-local').Strategy @@ -37,7 +36,7 @@ app.use(passport.initialize()) app.use(passport.session()) app.use(app.router) -routes = +routes = "/": 'index' "/about": 'about' "/exchangers": 'exchangers' @@ -46,6 +45,7 @@ routes = "/merchants/signup": 'signup' "/contact": 'contact' + for route, view of routes ((route, view) -> app.get(route, (req, res) -> |
