From a189adff41fbc3a95ba8da982a757bd4649a60f6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 29 Nov 2012 22:14:22 -0800 Subject: Remove config file --- app.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app.coffee') diff --git a/app.coffee b/app.coffee index 7847c16e..e59829a6 100644 --- a/app.coffee +++ b/app.coffee @@ -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) -> -- cgit v1.2.3