> Currently if you use page cache, Rails will take the default route for
> controller the controller to construct the path.
>
> If you wanted to cache the root url (see example below), Rails will create
> the cache at /welcome/index.html. Not really what we want.
>
> map.root :controller => "welcome" # Page cache defaults to
> "public/welcome/index.html"
>
> Defaulting to "request.path" makes everything a lot simpler, especially when
> dealing with caching different formats.

http://dev.rubyonrails.org/ticket/8614


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to