Permalink
Browse files

Another params_filters fix

  • Loading branch information...
1 parent fb7a3b9 commit 4d966a09fdaa49c9986c28a365554f285bfeb87b @redinger redinger committed Aug 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hoptoad_notifier/notice.rb
View
2 lib/hoptoad_notifier/notice.rb
@@ -319,7 +319,7 @@ def rack_session
def also_use_rack_params_filters
if args[:rack_env]
- params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
+ params_filters = self.params_filters + (rack_request.env["action_dispatch.parameter_filter"] || [])
end
end

0 comments on commit 4d966a0

Please sign in to comment.