Skip to content
Browse files

Handle instances when action_dispatch.paramater_filter is nil

  • Loading branch information...
1 parent 3627bd4 commit c04f47355fe07143de4ed999f3f12bd5ceca7c97 @joshuaclayton joshuaclayton committed
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]
- self.params_filters += rack_request.env["action_dispatch.parameter_filter"]
+ self.params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
end
end

0 comments on commit c04f473

Please sign in to comment.
Something went wrong with that request. Please try again.