method

file_readable?

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: FileHandler
file_readable?(path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/static.rb, line 138
      def file_readable?(path)
        file_path = File.join(@root, path.b)
        File.file?(file_path) && File.readable?(file_path)
      end
Register or log in to add new notes.