method

content_type

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: FileHandler
content_type(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 72
      def content_type(path)
        ::Rack::Mime.mime_type(::File.extname(path), 'text/plain')
      end
Register or log in to add new notes.