Flowdock
method

content_type

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::AbstractResponse
content_type() public

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_controller/response.rb, line 17
    def content_type
      content_type = String(headers["Content-Type"] || headers["type"]).split(";")[0]
      content_type.blank? ? nil : content_type
    end
Register or log in to add new notes.