Skip to content

Commit

Permalink
Fix issue with passed routes and provides
Browse files Browse the repository at this point in the history
  • Loading branch information
mwpastore committed Feb 12, 2016
1 parent fdd17eb commit 845e56a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sinatra/base.rb
Expand Up @@ -1013,6 +1013,7 @@ def process_route(pattern, keys, conditions, block = nil, values = [])
@env['sinatra.error.params'] = @params
raise
ensure
response['Content-Type'] = nil
@params = original if original
end

Expand Down

0 comments on commit 845e56a

Please sign in to comment.