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
Add support for multiple preview_path #16836
Add support for multiple preview_path #16836
Conversation
+1 |
Although I agree with the change I don't like the idea of setting an array to a configuration with singular name. Also I think we should use the Rails::Paths class to implement this. https://github.com/rails/rails/blob/8683396dd8c31c70ba9332586ee05889305fdde6/railties/lib/rails/engine.rb#L70-109 |
@rafaelfranca Thanks for review. I'll update it. |
any update @camelmasa ? |
cd69eea
to
4f89fde
Compare
@seuros I created some commits but there are some problems... |
@seuros Thanks a lot for review. I thought other approach.
For example commit. I think this way is more simple... What do you think about this ? |
This adds a bulk email compose-and-send flow as an alternative to exporting a CSV of recipients, and makes it available to global administrators. It includes: * Renaming the bulk_email Searcher service object * Porting bulk_email.js to CoffeeScript and refactoring into classes * Refactoring the bulk_email controller * Adding a new bulk email mailer, but without previews See rails/rails#16836 for more information about the problems Rails has in defining multiple mailer preview directories.
Hey @camelmasa, We would like to extend the functionality of this config option the same way you did. Do you think it would be possible to apply your changes on edge Rails and see if the issues can be fixed? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi guys.
I'd like to add support for multiple preview_path of ActionMailer. (It could configure only one directory path now.)
Because I think I'd like to configure it in Rails Engine.
For example.