We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd39506 + 999c4ab commit 93aa900Copy full SHA for 93aa900
actionpack/lib/abstract_controller/collector.rb
@@ -27,7 +27,7 @@ def #{sym}(...)
27
def method_missing(symbol, ...)
28
unless mime_constant = Mime[symbol]
29
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. " \
+ "https://guides.rubyonrails.org/action_controller_advanced_topics.html#restful-downloads. " \
31
"If you meant to respond to a variant like :tablet or :phone, not a custom format, " \
32
"be sure to nest your variant response within a format response: " \
33
"format.html { |html| html.tablet { ... } }"
0 commit comments