Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/extensions/action_controller/base.rb
Class Method Summary collapse
Class Method Details
.require_user(options = {}) ⇒ Object
2 3 4 5 |
# File 'lib/extensions/action_controller/base.rb', line 2 def self.require_user( = {}) raise Exception, "require_user cannot be called on ActionController::Base. Only it's subclasses" if self == ActionController::Base prepend_before_filter :require_user, end |