Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 37d14647a895a38122b38fbea64671ba4b1c5e34 1 parent eb37c86
Dragos Tudorache authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Controller/BaseController.js
3  lib/Controller/BaseController.js
View
@@ -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() }
},
Please sign in to comment.
Something went wrong with that request. Please try again.