Permalink
Browse files

Add extra clarifying line in docs. [ci skip]

  • Loading branch information...
1 parent 5bf6d8e commit a3c8e4add7178e86d80584f2c7df51b77fc882ff @steveklabnik steveklabnik committed Mar 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/http/request.rb
@@ -179,6 +179,7 @@ def original_url
# 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

0 comments on commit a3c8e4a

Please sign in to comment.