Permalink
Browse files

Removed console.log garbage.

  • Loading branch information...
1 parent 30bd055 commit f1f5ad27a997655e2491a84bb1cf7daff771c35a @olalonde olalonde committed Oct 8, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/railway_routes.js
View
@@ -100,16 +100,13 @@ Map.prototype.root = function (handler, middleware, options) {
action = handler.split('#')[1];
}
- console.log('subpath: ' + subpath);
- console.log('globPath: ' + this.globPath);
-
var path;
if (typeof subpath === 'string') {
path = this.globPath + subpath.replace(/^\/|\/$/, '');
} else { // regex???
path = subpath;
}
- console.log('path: ' + path);
+
// only accept functions in before filter when it's an array
if (middleware instanceof Array) {
var before_filter_functions = middleware.filter(function(filter) {

0 comments on commit f1f5ad2

Please sign in to comment.