method
file_readable?
rails latest stable - Class:
ActionDispatch::FileHandler
file_readable?(path)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/static.rb, line 142
def file_readable?(path)
file_path = File.join(@root, path.b)
File.file?(file_path) && File.readable?(file_path)
end