method
match
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Base
match(path, options=nil)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 233
def match(path, options=nil)
mapping = Mapping.new(@set, @scope, path, options || {}).to_route
@set.add_route(*mapping)
self
end