Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct the #also_use_rack_params_filters method

  • Loading branch information...
commit cc32187528d706855902740fb530b01631c5b5fe 1 parent 5ad32cc
@jasonm jasonm authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/hoptoad_notifier/notice.rb
View
3  lib/hoptoad_notifier/notice.rb
@@ -326,7 +326,8 @@ def rack_session
def also_use_rack_params_filters
if args[:rack_env]
- self.params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
+ @params_filters ||= []
+ @params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.