lib/desert/plugin_templates/2.1.0/action_view.rb in tog-desert-0.3.5 vs lib/desert/plugin_templates/2.1.0/action_view.rb in tog-desert-0.3.5.1
- old
+ new
@@ -1,8 +1,9 @@
module ActionView #:nodoc:
class TemplateFinder #:nodoc:
- def initialize_with_desert_plugins(*args)
- initialize_without_desert_plugins *args
+ def initialize_with_desert_plugins(base, *paths)
+ self.class.process_view_paths(*paths)
+ initialize_without_desert_plugins base, *paths
Desert::Manager.plugins.reverse.each do |plugin|
append_view_path plugin.templates_path
end
end