public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Ensure view path cache is rebuilt in production mode which was broke by df44df9.
josh (author)
Tue Jun 10 18:38:18 -0700 2008
commit  e8a0ba4c93e2f0f811675bc6a6720725c866d1a5
tree    cdc5b46c619c1cc38629e945ec4580934a1a08c9
parent  6b280e5b54fb406b4e0fa3626a01c8992ff8ebfb
...
10
11
12
13
14
15
16
17
18
19
...
25
26
27
 
 
 
 
28
29
30
...
10
11
12
 
 
 
 
13
14
15
...
21
22
23
24
25
26
27
28
29
30
0
@@ -10,10 +10,6 @@ module ActionController
0
           # Development mode callbacks
0
           before_dispatch :reload_application
0
           after_dispatch :cleanup_application
0
-
0
-          to_prepare :reload_view_path_cache do
0
-            ActionView::TemplateFinder.reload! unless ActionView::Base.cache_template_loading
0
-          end
0
         end
0
 
0
         # Common callbacks
0
@@ -25,6 +21,10 @@ module ActionController
0
           end
0
         end
0
 
0
+        to_prepare :reload_view_path_cache do
0
+          ActionView::TemplateFinder.reload!
0
+        end
0
+
0
         if defined?(ActiveRecord)
0
           before_dispatch { ActiveRecord::Base.verify_active_connections! }
0
           to_prepare(:activerecord_instantiate_observers) { ActiveRecord::Base.instantiate_observers }

Comments