mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Formatted
This commit is contained in:
		
							parent
							
								
									b431f4128b
								
							
						
					
					
						commit
						5749a7db60
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue