method
controller
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Scoping
controller(controller, options={})public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 364
def controller(controller, options={})
options[:controller] = controller
scope(options) { yield }
end