method
match_root_route
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Mapping::Scoping::Resources
match_root_route(options)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1965
def match_root_route(options)
args = ["/", { as: :root, via: :get }.merge(options)]
match(*args)
end