instance method
match_root_route
Ruby on Rails 6.0.6
Since v5.2.8.1 PrivateSignature
match_root_route(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1959
def match_root_route(options)
args = ["/", { as: :root, via: :get }.merge(options)]
match(*args)
end
Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 1959
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::Mapper::Resources