aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/mapper.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/action_dispatch/routing/mapper.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/action_dispatch/routing/mapper.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index d9dd24935b..aeaae3c1dd 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -309,7 +309,7 @@ module ActionDispatch
hash = check_part(:controller, controller, path_params, {}) do |part|
translate_controller(part) {
message = "'#{part}' is not a supported controller name. This can lead to potential routing problems.".dup
- message << " See http://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use"
+ message << " See https://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use"
raise ArgumentError, message
}