Browse files

Modified the default BaseController getters(action, controller, request)

  • Loading branch information...
1 parent eb37c86 commit 37d14647a895a38122b38fbea64671ba4b1c5e34 @fk1blow committed Jun 3, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Controller/BaseController.js
View
3 lib/Controller/BaseController.js
@@ -9,6 +9,9 @@ var BaseController = Klass({
action_name: function() { return ActiveRouter.getActionName() },
+ /**
+ * I can't tell if it's safe to expose all the Request object
+ */
request: function() { return Request.Factory() }
},

0 comments on commit 37d1464

Please sign in to comment.