Flowdock
method

page_cache_file

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActionController::Caching::Pages::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

page_cache_file(path, extension) 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 128
          def page_cache_file(path, extension)
            name = (path.empty? || path == "/") ? "/index" : URI.parser.unescape(path.chomp('/'))
            unless (name.split('/').last || name).include? '.'
              name << (extension || self.page_cache_extension)
            end
            return name
          end
Register or log in to add new notes.