Permalink
Browse files

Modified an the url getter call

  • Loading branch information...
1 parent 73f6430 commit cb60e153b9fc4d31ed68f6ee2ac7bbc021e0537a @fk1blow committed May 28, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/Controller/ActionRouter.js
@@ -1,4 +1,5 @@
-var ActiveRouter = require('../Router/ActiveRouter');
+var ActiveRouter = require('../Router/ActiveRouter'),
+ Request = require('../Http/Request');
var ActionRouter = Klass({
@@ -9,7 +10,7 @@ var ActionRouter = Klass({
var route_controller = this.getCurrentRoute().controller;
// This pseudo error handling must go
if(!route_controller) {
- throw new Error('Unable to find a route(controller) for:: ' + Seek.URL.Request.getUrl())
+ throw new Error('Unable to find a route for:: ' + Request.getUrl())
}
return route_controller;
},

0 comments on commit cb60e15

Please sign in to comment.