Permalink
Browse files

Fixed problem with page caching #958 [Rick Olson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Mar 27, 2005
1 parent b7c7b35 commit 439a216dcb65ac83d86ca04bb898e1797a87ce70
Showing with 6 additions and 1 deletion.
  1. +5 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_controller/caching.rb
View
@@ -1,3 +1,8 @@
+*SVN*
+
+* Fixed problem with page caching #958 [Rick Olson]
+
+
*1.7.0* (27th March, 2005)
* Added ActionController::Base.page_cache_extension for setting the page cache file extension (the default is .html) #903 [Andreas]
@@ -99,7 +99,7 @@ def caches_page(*actions)
private
def page_cache_file(path)
name = ((path.empty? || path == "/") ? "/index" : path)
- name << @@page_cache_extension unless (name.split('/').last || name).include? '.'
+ name << page_cache_extension unless (name.split('/').last || name).include? '.'
return name
end

0 comments on commit 439a216

Please sign in to comment.