This project is archived and is in readonly mode.
Allow ActionMailer to use view_paths from plugins
-
Repository
- State changed from new to resolved
(from [441e4e22352c8805a882f6a661ab3982dd7eda12]) load plugin view_paths to action_mailer view_paths and make action_mailer use them [#2031 Allow ActionMailer to use view_paths from plugins state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
Jarl Friis
I have run into a problem on rails 2.3.5 (https://rails.lighthouseapp.com/projects/8995-rails-plugins/tickets/85) that is caused by code comming from this patch.
The problem is the line
self.view_paths = []Which should be
self.view_paths = ActionView::Base.process_view_paths([])Please could you fix this problem as it causing problems for exception_notification plugin in 2.3.5
Currently I have solved the problem with a monkey patch in my
environment.rblike this:ExceptionNotification::Notifier.view_paths = ActionView::Base.process_view_paths(ExceptionNotification::Notifier.view_paths)Should I open a new separate bug for this?
Jarl
-
Jarl Friis
- Tag set to actionmailer, action_mailer, patch
Here is a proposed patch agaisnt 2-3-stable branch
-
Eric Butler
- Importance changed from to
Hey Jarl,
Perhaps you should open a new ticket for this? It doesn't look like your patch was ever merged, and I ran into this same problem. http://github.com/rails/rails/blob/2-3-stable/actionmailer/lib/acti...
Eric
-
Jarl Friis
@Eric: I have done that, see https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets...
