private Method

ClassMethods.page_cache_file(path)

There's no documentation for this item.

Source Code

# File action_controller/caching/pages.rb, line 88
def page_cache_file(path)
  name = (path.empty? || path == "/") ? "/index" : URI.unescape(path.chomp('/'))
  name << page_cache_extension unless (name.split('/').last || name).include? '.'
  return name
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.