1
0
Fork 0
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:
Steve Klabnik 2013-03-13 15:27:49 -07:00
parent 5bf6d8e7c1
commit a3c8e4add7

View file

@ -179,6 +179,7 @@ module ActionDispatch
# The +String+ MIME type of the request # The +String+ MIME type of the request
# #
# app.get "/articles" # app.get "/articles"
# app.request.media_type
# # => "application/x-www-form-urlencoded" # # => "application/x-www-form-urlencoded"
def media_type def media_type
content_mime_type.to_s content_mime_type.to_s