method
page_cache_file
v1.0.0 -
Show latest stable
- Class:
ActionController::Caching::Pages::ClassMethods
page_cache_file(path)private
No documentation available.
# File actionpack/lib/action_controller/caching.rb, line 103
def page_cache_file(path)
name = ((path.empty? || path == "/") ? "/index" : URI.unescape(path))
name << page_cache_extension unless (name.split('/').last || name).include? '.'
return name
end