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 Spree's Rails Engine. (Spree's 
repository https://github.com/spree/spree)

For example.

```
       initializer "spree.core.mailers_previews" do |app|
         app.config.action_mailer.preview_path << File.join(root, "test", 
"mailers", "previews") # =>  spree/core/test/mailers/previews
       end
```

Rails's patch is this.

https://github.com/camelmasa/rails/pull/2/files


What do you think about this ?
I think I'd like to create PR when patch is no problem.

Thanks !

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to