Flowdock
method

accepts

Importance_0
v1.1.1 - Show latest stable - 0 notes - Class: ActionController::AbstractRequest
accepts() 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/request.rb, line 68
    def accepts
      @accepts ||=
        if @env['HTTP_ACCEPT'].to_s.strip.empty?
          [ content_type, Mime::ALL ]
        else
          Mime::Type.parse(@env['HTTP_ACCEPT'])
        end
    end
Register or log in to add new notes.