Flowdock
method

page_cache_file

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionController::Caching::Pages::ClassMethods
page_cache_file(path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/caching/pages.rb, line 101
          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
Register or log in to add new notes.