method
new_scope
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
new_scope()protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 819
def new_scope
with_scope_level(:new) do
scope(parent_resource.new_scope(action_path(:new))) do
yield
end
end
end