aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-06-25 23:42:48 +0900
committerGitHub <noreply@github.com>2019-06-25 23:42:48 +0900
commit7a5e2b51dc90e83c0d771921b567a33c5a67ebe1 (patch)
treedad98fc772622edaa65282e03c0ba035ae00d14a
parent1aa90ddc1c2ae5d44f64f41c6eda3345054d69c2 (diff)
parent1466701fab446fac109908962b3a7af4443f44db (diff)
downloadrails-7a5e2b51dc90e83c0d771921b567a33c5a67ebe1.tar.gz
rails-7a5e2b51dc90e83c0d771921b567a33c5a67ebe1.tar.bz2
rails-7a5e2b51dc90e83c0d771921b567a33c5a67ebe1.zip
Merge pull request #36553 from tatsuyafw/fix-robots-txt-url
Replace the www.robotstxt.org URL with https one [ci skip]
-rw-r--r--guides/source/configuring.md2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/robots.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index ffff9417b9..e53e8b4e92 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -1541,7 +1541,7 @@ Disallow: /
```
To block just specific pages, it's necessary to use a more complex syntax. Learn
-it on the [official documentation](http://www.robotstxt.org/robotstxt.html).
+it on the [official documentation](https://www.robotstxt.org/robotstxt.html).
Evented File System Monitor
---------------------------
diff --git a/railties/lib/rails/generators/rails/app/templates/public/robots.txt b/railties/lib/rails/generators/rails/app/templates/public/robots.txt
index 37b576a4a0..c19f78ab68 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/robots.txt
+++ b/railties/lib/rails/generators/rails/app/templates/public/robots.txt
@@ -1 +1 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
+# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file