Skip to content

Commit e0a7e7b

Browse files
committed
Merge pull request rails#20842 from TheBlasfem/removed_usage_lines_docs
Removed usage line docs [ci skip]
2 parents 794252d + 789a2df commit e0a7e7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actionpack/lib/action_controller/metal/renderers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def self.add(key, &block)
9494

9595
# This method is the opposite of add method.
9696
#
97-
# Usage:
97+
# To remove a csv renderer:
9898
#
9999
# ActionController::Renderers.remove(:csv)
100100
def self.remove(key)

actionpack/lib/action_dispatch/http/mime_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def parse_data_with_trailing_star(input)
211211

212212
# This method is opposite of register method.
213213
#
214-
# Usage:
214+
# To unregister a MIME type:
215215
#
216216
# Mime::Type.unregister(:mobile)
217217
def unregister(symbol)

0 commit comments

Comments
 (0)