method

add_extension!

rails latest stable - Class: ActionController::Caching::Actions::ActionCachePath

Method deprecated or moved

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

add_extension!(path, extension)
private

No documentation available.

# File actionpack/lib/action_controller/caching/actions.rb, line 165
          def add_extension!(path, extension)
            path << ".#{extension}" if extension and !path.ends_with?(extension)
          end