Method: BeforeActions::Controller::Scope#only
- Defined in:
- lib/before_actions/controller/scope.rb
#only(*list, &block) ⇒ Object
14 15 16 |
# File 'lib/before_actions/controller/scope.rb', line 14 def only(*list, &block) @controller.send(the_method, {only: list}, &block) end |