lib/getaround_utils/railties/lograge.rb in getaround_utils-0.2.26 vs lib/getaround_utils/railties/lograge.rb in getaround_utils-0.2.27
- old
+ new
@@ -41,9 +41,10 @@
end
end
initializer 'getaround_utils.action_controller' do
ActionController::Base.prepend LogrageActionController
+ ActionController::API.prepend LogrageActionController
end
HTTP_PARAMS = [:method, :path, :host, :remote_ip,
:status, :duration, :location,
:user_agent, :referer].freeze