remove unused argument

This commit is contained in:
Konstantin Haase 2011-07-12 10:44:35 +02:00
parent 5f82e38afd
commit 2ca798a194
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ module Sinatra
# Revert params afterwards.
#
# Returns pass block.
def process_route(pattern, keys, conditions, block = nil, values = nil)
def process_route(pattern, keys, conditions, block = nil)
@original_params ||= @params
route = @request.path_info
route = '/' if route.empty? and not settings.empty_path_info?