tog-desert 0.3.5 → 0.3.5.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
|
|
1
1
|
module ActionView #:nodoc:
|
2
2
|
class TemplateFinder #:nodoc:
|
3
|
-
def initialize_with_desert_plugins(*
|
4
|
-
|
3
|
+
def initialize_with_desert_plugins(base, *paths)
|
4
|
+
self.class.process_view_paths(*paths)
|
5
|
+
initialize_without_desert_plugins base, *paths
|
5
6
|
|
6
7
|
Desert::Manager.plugins.reverse.each do |plugin|
|
7
8
|
append_view_path plugin.templates_path
|