diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2013-03-13 15:27:49 -0700 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-03-13 15:27:49 -0700 |
commit | a3c8e4add7178e86d80584f2c7df51b77fc882ff (patch) | |
tree | 43edc6da93490ee9bc0f728d3038291fb7609b2f | |
parent | 5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2 (diff) | |
download | rails-a3c8e4add7178e86d80584f2c7df51b77fc882ff.tar.gz rails-a3c8e4add7178e86d80584f2c7df51b77fc882ff.tar.bz2 rails-a3c8e4add7178e86d80584f2c7df51b77fc882ff.zip |
Add extra clarifying line in docs. [ci skip]
-rw-r--r-- | actionpack/lib/action_dispatch/http/request.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |