method
directory_exist?
rails latest stable - Class:
ActionDispatch::Static
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