Skip to content

Commit

Permalink
Merge pull request #35935 from y-yagi/fixes_34837
Browse files Browse the repository at this point in the history
Fix loading `ActionMailbox::BaseController` when CSRF protection is disabled
  • Loading branch information
georgeclaghorn committed Apr 11, 2019
2 parents 5963b3d + 1b2f173 commit 45511fa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3,7 +3,7 @@
module ActionMailbox
# The base class for all Action Mailbox ingress controllers.
class BaseController < ActionController::Base
skip_forgery_protection
skip_forgery_protection if default_protect_from_forgery

before_action :ensure_configured

Expand Down

0 comments on commit 45511fa

Please sign in to comment.