Permalink
Browse files

remove unused argument

  • Loading branch information...
1 parent 5f82e38 commit 2ca798a1946976ee786be6baf7d6ea4ad320a72a @rkh rkh committed Jul 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
@@ -700,7 +700,7 @@ def route_eval
# 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?

0 comments on commit 2ca798a

Please sign in to comment.