method
root
v3.2.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
root(options={})public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1307
def root(options={})
if @scope[:scope_level] == :resources
with_scope_level(:root) do
scope(parent_resource.path) do
super(options)
end
end
else
super(options)
end
end