From a3c8e4add7178e86d80584f2c7df51b77fc882ff Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 13 Mar 2013 15:27:49 -0700 Subject: [PATCH] Add extra clarifying line in docs. [ci skip] --- actionpack/lib/action_dispatch/http/request.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index ac9cf7a80c..97a9b7be86 100644 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -179,6 +179,7 @@ module ActionDispatch # The +String+ MIME type of the request # # app.get "/articles" + # app.request.media_type # # => "application/x-www-form-urlencoded" def media_type content_mime_type.to_s