mirror of
https://github.com/github/rails.git
synced 2026-01-23 05:17:59 -05:00
Fixed that caching the root would result in .html not index.html
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
*SVN*
|
||||
|
||||
* Fixed that caching the root would result in .html not index.html
|
||||
|
||||
|
||||
*1.5.0* (24th February, 2005)
|
||||
|
||||
* Added Routing as a replacement for mod_rewrite pretty urls [Nicholas Seckar]. Read more in ActionController::Base.url_for and on http://manuals.rubyonrails.com/read/book/9
|
||||
|
||||
@@ -90,7 +90,7 @@ module ActionController #:nodoc:
|
||||
|
||||
private
|
||||
def page_cache_file(path)
|
||||
(path.empty? ? "/index" : path) + ".html"
|
||||
((path.empty? || path == "/") ? "/index" : path) + ".html"
|
||||
end
|
||||
|
||||
def page_cache_path(path)
|
||||
|
||||
Reference in New Issue
Block a user