Skip to content

Commit 93aa900

Browse files
authored
Merge pull request rails#55437 from nerdinand/patch-1
Fix outdated link in error message about missing MIME type
2 parents dd39506 + 999c4ab commit 93aa900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/abstract_controller/collector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def #{sym}(...)
2727
def method_missing(symbol, ...)
2828
unless mime_constant = Mime[symbol]
2929
raise NoMethodError, "To respond to a custom format, register it as a MIME type first: " \
30-
"https://guides.rubyonrails.org/action_controller_overview.html#restful-downloads. " \
30+
"https://guides.rubyonrails.org/action_controller_advanced_topics.html#restful-downloads. " \
3131
"If you meant to respond to a variant like :tablet or :phone, not a custom format, " \
3232
"be sure to nest your variant response within a format response: " \
3333
"format.html { |html| html.tablet { ... } }"

0 commit comments

Comments
 (0)