public
Fork of lazyatom/engines
Description: The Rails Engines plugin
Homepage: http://rails-engines.org
Clone URL: git://github.com/tekkub/engines.git
Fixed bug in ActionMailer extentions to work with the new TemplateFinder 
class. This could do with a more thorough consideration, but time does not 
permit that at the moment.

git-svn-id: http://svn.rails-engines.org/engines/trunk@682 
61cc408d-6c04-0410-aff7-b3608aa29ce9
lazyatom (author)
Sun Apr 13 06:38:04 -0700 2008
commit  652701c328abd25697cb17cee7f29dd22f0c077f
tree    66d5c04acf26fbbd4fd6857121346fc7d24912b4
parent  905b03b14e13a4ed41591893947a7f3545ece5a3
...
70
71
72
73
 
74
75
76
...
70
71
72
 
73
74
75
76
0
@@ -70,7 +70,7 @@ module Engines::RailsExtensions::ActionMailer
0
       #
0
       # ActionView::Base.new(ActionController::Base.view_paths.dup, assigns, self)
0
       renderer = initialize_template_class_without_engine_additions(assigns)
0
- renderer.view_paths = ActionController::Base.view_paths.dup
0
+ renderer.finder.view_paths = ActionController::Base.view_paths.dup
0
       renderer
0
     end
0
 end

Comments

    No one has commented yet.