Module: Permitted::ActionController
- Defined in:
- lib/permitted/action_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(controller) ⇒ Object
3 4 5 |
# File 'lib/permitted/action_controller.rb', line 3 def self.included(controller) controller.delegate :permit!, :permitted_to?, :to => :current_ability end |