Formatted

This commit is contained in:
Sdogruyol 2015-10-23 22:54:18 +03:00
parent b431f4128b
commit 5749a7db60
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Kemal::Route
@components.zip(components) do |route_component, req_component|
if route_component.starts_with? ':'
params ||= {} of String => String
params[route_component[1 .. -1]] = req_component
params[route_component[1..-1]] = req_component
else
return nil unless route_component == req_component
end