method

public_path

rails latest stable - Class: ActionDispatch::ShowExceptions

Method deprecated or moved

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

public_path()
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 122
      def public_path
        defined?(Rails.public_path) ? Rails.public_path : 'public_path'
      end