-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution of ApplicationController filters #76
Comments
You can skip filters in ApplicationController |
@ciihla at the moment I skip filters using an initializer with the following code:
It could be useful to let the developer choose the behaviour through a letter_opener_web config parameter. This way one may choose between extending own application controller or not. What do you think? Mauro EDIT: handle the case when the gem is not installed (eg. production env) |
Pull request #78 |
Sorry for the delay everyone...please feel free to ping me in PRs and issues in the future so I get notified. |
Resolved by #82 |
I have a problem with version 1.3.2.
The filters defined in ApplicationController of my application (app/controllers/application_controller.rb) are executed when accessising the list of emails.
This is strange beacuse LettersController (app/controllers/letter_opener_web/letters_controller.rb) inherits from ApplicationController defined within the gem (app/controllers/letter_opener_web/application_controller.rb).
Any idea on how to solve this issue?
Many thanks in advance.
The text was updated successfully, but these errors were encountered: