Skip to content

Commit

Permalink
Actually disable log
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Nov 8, 2016
1 parent 603d3f2 commit 9085c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/extra_configs.rb
@@ -1,3 +1,3 @@
if Rails.env.production?
Rails.application.config.action_controller.log_warning_on_csrf_failure = false
ActionController::Base.log_warning_on_csrf_failure = false
end

0 comments on commit 9085c61

Please sign in to comment.