aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-05-11 03:23:51 -0700
committerJosé Valim <jose.valim@gmail.com>2012-05-11 03:23:51 -0700
commitfe3b742bd6cd20d7c4f1196797e16568edbd1e77 (patch)
treef99d6245fabdaacba697094458206af7382bcedb
parent9b4514c3b8ecfbc40a44dbd4c2ebd4ce67f4a459 (diff)
parent1abf15657b47b32dd5ba295bcdb618b41b46c0bc (diff)
downloadrails-fe3b742bd6cd20d7c4f1196797e16568edbd1e77.tar.gz
rails-fe3b742bd6cd20d7c4f1196797e16568edbd1e77.tar.bz2
rails-fe3b742bd6cd20d7c4f1196797e16568edbd1e77.zip
Merge pull request #6268 from carlesso/master
In robots.txt User-agent should be all downcase except for the first 'U'
-rw-r--r--guides/code/getting_started/public/robots.txt2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/robots.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/code/getting_started/public/robots.txt b/guides/code/getting_started/public/robots.txt
index 085187fa58..1a3a5e4dd2 100644
--- a/guides/code/getting_started/public/robots.txt
+++ b/guides/code/getting_started/public/robots.txt
@@ -1,5 +1,5 @@
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
-# User-Agent: *
+# User-agent: *
# Disallow: /
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 085187fa58..1a3a5e4dd2 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/robots.txt
+++ b/railties/lib/rails/generators/rails/app/templates/public/robots.txt
@@ -1,5 +1,5 @@
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
-# User-Agent: *
+# User-agent: *
# Disallow: /