Permalink
Browse files

Explictly require InvalidAuthenticityToken before trying to ignore it…

… in ExceptionNotifier.
  • Loading branch information...
1 parent 49669ac commit d0eef73f479fd805a0ece4b738a1edb275eac47f @xaviershay committed Feb 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 config/initializers/exception_notifier.rb
@@ -1,3 +1,5 @@
+require 'action_controller/metal/request_forgery_protection'
+
Enki::Application.config.middleware.use ExceptionNotifier,
:ignore_exceptions => [ActionController::InvalidAuthenticityToken],
:email_prefix => "[Enki] ",

0 comments on commit d0eef73

Please sign in to comment.