aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/collector.rb
diff options
context:
space:
mode:
authorPaul McMahon <paul@doorkeeper.jp>2018-07-24 11:29:31 +0900
committerPaul McMahon <paul@doorkeeper.jp>2018-07-24 11:29:31 +0900
commit7b9c19d94b18f340552f95225bf01d6f91804184 (patch)
tree9a5d11f6f226616363b6ab505b2692576a68a92a /actionpack/lib/abstract_controller/collector.rb
parentbd139a59405044c27bf367cde671e4bdbf7ccb57 (diff)
downloadrails-7b9c19d94b18f340552f95225bf01d6f91804184.tar.gz
rails-7b9c19d94b18f340552f95225bf01d6f91804184.tar.bz2
rails-7b9c19d94b18f340552f95225bf01d6f91804184.zip
Rails guides are now served over https
http links will be redirected to the https version, but still better to just directly link to the https version.
Diffstat (limited to 'actionpack/lib/abstract_controller/collector.rb')
-rw-r--r--actionpack/lib/abstract_controller/collector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/collector.rb b/actionpack/lib/abstract_controller/collector.rb
index 297ec5ca40..d4a078ab32 100644
--- a/actionpack/lib/abstract_controller/collector.rb
+++ b/actionpack/lib/abstract_controller/collector.rb
@@ -26,7 +26,7 @@ module AbstractController
def method_missing(symbol, &block)
unless mime_constant = Mime[symbol]
raise NoMethodError, "To respond to a custom format, register it as a MIME type first: " \
- "http://guides.rubyonrails.org/action_controller_overview.html#restful-downloads. " \
+ "https://guides.rubyonrails.org/action_controller_overview.html#restful-downloads. " \
"If you meant to respond to a variant like :tablet or :phone, not a custom format, " \
"be sure to nest your variant response within a format response: " \
"format.html { |html| html.tablet { ... } }"