instance method
match_root_route
Ruby on Rails 8.1.3.1
Since v5.0.7.2 Private — implementation detail, not part of the public APISignature
match_root_route(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 2217
def match_root_route(options)
match("/", as: :root, via: :get, **options)
end
Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 2217
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::Mapper::Resources