From a8b9fc9f2ab47e0a853ca3997ae34aee2865dec6 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Mon, 29 Aug 2005 15:12:48 +0000 Subject: Add dummy ActionView::Base.cache_template_loading accessor -- will be made functional again in short time git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ actionpack/lib/action_view/base.rb | 3 +++ 2 files changed, 5 insertions(+) (limited to 'actionpack') diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 3835cb51e7..dbfa43fde7 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Added ActionView::Base.cache_template_loading back. + * Rewrote compiled templates to decrease code complexity. Removed template load caching in favour of compiled caching. Fixed template error messages. [Nicholas Seckar] * Fix Routing to handle :some_param => nil better. [Nicholas Seckar, Luminas] diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 56d174e124..923a1c28da 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -129,6 +129,9 @@ module ActionView #:nodoc: @@erb_trim_mode = '-' cattr_accessor :erb_trim_mode + @@cache_template_loading = false # Unused at the moment + cattr_accessor :cache_template_loading + @@template_handlers = {} @@compiled_templates = CompiledTemplates.new -- cgit v1.2.3