stop splatting arguments so that we can understand wtf is going on
This commit is contained in:
parent
833a90594e
commit
9ba2d422f5
@ -365,8 +365,9 @@ def root(options = {})
|
||||
#
|
||||
# See <tt>Scoping#defaults</tt> for its scope equivalent.
|
||||
def match(path, options=nil)
|
||||
mapping = Mapping.new(@set, @scope, path, options || {}).to_route
|
||||
@set.add_route(*mapping)
|
||||
mapping = Mapping.new(@set, @scope, path, options || {})
|
||||
app, conditions, requirements, defaults, as, anchor = mapping.to_route
|
||||
@set.add_route(app, conditions, requirements, defaults, as, anchor)
|
||||
self
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user