Permalink
Browse files

Removed unnecessary user route.

  • Loading branch information...
1 parent e46399e commit 7371e8dbb57b8a64e2440949ee6f1fb04ebef154 @primaryobjects committed Sep 10, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −2 app.js
  2. +0 −5 routes/index.js
View
2 app.js
@@ -5,7 +5,6 @@
var express = require('express')
, routes = require('./routes')
- , user = require('./routes/user')
, http = require('http')
, path = require('path');
@@ -30,7 +29,6 @@ app.configure('development', function(){
});
app.get('/', routes.index);
-app.get('/users', user.list);
http.createServer(app).listen(app.get('port'), function(){
console.log("Express server listening on port " + app.get('port'));
View
@@ -1,8 +1,3 @@
-
-/*
- * GET home page.
- */
-
exports.index = function(req, res){
res.render('index', { title: 'Node-Bootstrapper' });
};

0 comments on commit 7371e8d

Please sign in to comment.