diff options
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 3aa0c610f7..4f5fb7d4be 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -223,6 +223,10 @@ module ActionView #:nodoc: # Maps template paths / extensions to @@cached_base_paths = {} + # Cache public asset paths + cattr_reader :computed_public_paths + @@computed_public_paths = {} + @@templates_requiring_setup = Set.new(%w(builder rxml rjs)) # Order of template handers checked by #file_exists? depending on the current #template_format |