lib/jeanine/routing/evaluation.rb in jeanine-0.2.0 vs lib/jeanine/routing/evaluation.rb in jeanine-0.3.0
- old
+ new
@@ -32,10 +32,10 @@
index = 0
while index < matches.captures.size
param = route[:params][index]
@request.params[param] = matches.captures[index]
- if index == match.captures.size
+ if index == matches.captures.size
@request.params[param].gsub!(@request.format)
end
index += 1
end