method
with_controllers
v1.2.6 -
Show latest stable
- Class:
ActionController::Routing
with_controllers(names)public
No documentation available.
# File actionpack/lib/action_controller/routing.rb, line 256
def with_controllers(names)
prior_controllers = @possible_controllers
use_controllers! names
yield
ensure
use_controllers! prior_controllers
end