stop splatting arguments so that we can understand wtf is going on

This commit is contained in:
Aaron Patterson 2011-03-14 16:17:05 -07:00
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