method

directory_exist?

rails latest stable - Class: ActionDispatch::Static

Method deprecated or moved

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

directory_exist?(path)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/static.rb, line 39
      def directory_exist?(path)
        full_path = File.join(@file_server.root, ::Rack::Utils.unescape(path))
        File.directory?(full_path) && File.readable?(full_path)
      end