whenauser 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/whenauser/version.rb +1 -1
- data/lib/whenauser.rb +2 -2
- metadata +1 -1
data/lib/whenauser/version.rb
CHANGED
data/lib/whenauser.rb
CHANGED
@@ -62,9 +62,9 @@ module WhenAUser
|
|
62
62
|
event[:request_method] = env['whenauser.request_method']
|
63
63
|
event[:user_agent] = env['whenauser.user_agent']
|
64
64
|
event[:referer_url] = env['whenauser.referer_url'] if env['whenauser.referer_url']
|
65
|
+
request = ActionDispatch::Request.new(env)
|
66
|
+
event[:params] = request.params.except(*WhenAUser.filter_parameters)
|
65
67
|
end
|
66
|
-
request = ActionDispatch::Request.new(env)
|
67
|
-
event[:params] = request.params.except(*WhenAUser.filter_parameters)
|
68
68
|
event.merge!(WhenAUser.custom_data.call(env))
|
69
69
|
event
|
70
70
|
end
|