aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorClaudio B. <claudiob@users.noreply.github.com>2015-07-11 22:38:05 -0700
committerClaudio B. <claudiob@users.noreply.github.com>2015-07-11 22:38:05 -0700
commite0a7e7b0ee3204fdc5ef8580450582bd55340d3e (patch)
tree93ab5f98a64facb529e969f8fd20ca7d03153e21 /actionpack
parent794252d70990162d14da17ee854ad353e74297ee (diff)
parent789a2df86e29883e17a1c3a3bbafd0674f7adb03 (diff)
downloadrails-e0a7e7b0ee3204fdc5ef8580450582bd55340d3e.tar.gz
rails-e0a7e7b0ee3204fdc5ef8580450582bd55340d3e.tar.bz2
rails-e0a7e7b0ee3204fdc5ef8580450582bd55340d3e.zip
Merge pull request #20842 from TheBlasfem/removed_usage_lines_docs
Removed usage line docs [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/renderers.rb2
-rw-r--r--actionpack/lib/action_dispatch/http/mime_type.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/renderers.rb b/actionpack/lib/action_controller/metal/renderers.rb
index 45d3962494..cb74c4f0d4 100644
--- a/actionpack/lib/action_controller/metal/renderers.rb
+++ b/actionpack/lib/action_controller/metal/renderers.rb
@@ -94,7 +94,7 @@ module ActionController
# This method is the opposite of add method.
#
- # Usage:
+ # To remove a csv renderer:
#
# ActionController::Renderers.remove(:csv)
def self.remove(key)
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb
index 7e585aa244..6a6e23d535 100644
--- a/actionpack/lib/action_dispatch/http/mime_type.rb
+++ b/actionpack/lib/action_dispatch/http/mime_type.rb
@@ -211,7 +211,7 @@ module Mime
# This method is opposite of register method.
#
- # Usage:
+ # To unregister a MIME type:
#
# Mime::Type.unregister(:mobile)
def unregister(symbol)