mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add extra clarifying line in docs. [ci skip]
This commit is contained in:
parent
5bf6d8e7c1
commit
a3c8e4add7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue