From d74f0bfd5c53962e332c2dd4d30dafaa1105b92b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 23 Jul 2017 11:26:04 +0000 Subject: Merged rails-5.1 branch (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/welcome/robots.html.erb | 10 ---------- app/views/welcome/robots.text.erb | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 app/views/welcome/robots.html.erb create mode 100644 app/views/welcome/robots.text.erb (limited to 'app/views/welcome') diff --git a/app/views/welcome/robots.html.erb b/app/views/welcome/robots.html.erb deleted file mode 100644 index 10b540935..000000000 --- a/app/views/welcome/robots.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -User-agent: * -<% @projects.each do |p| -%> -Disallow: /projects/<%= p.to_param %>/repository -Disallow: /projects/<%= p.to_param %>/issues -Disallow: /projects/<%= p.to_param %>/activity -<% end -%> -Disallow: /issues/gantt -Disallow: /issues/calendar -Disallow: /activity -Disallow: /search diff --git a/app/views/welcome/robots.text.erb b/app/views/welcome/robots.text.erb new file mode 100644 index 000000000..10b540935 --- /dev/null +++ b/app/views/welcome/robots.text.erb @@ -0,0 +1,10 @@ +User-agent: * +<% @projects.each do |p| -%> +Disallow: /projects/<%= p.to_param %>/repository +Disallow: /projects/<%= p.to_param %>/issues +Disallow: /projects/<%= p.to_param %>/activity +<% end -%> +Disallow: /issues/gantt +Disallow: /issues/calendar +Disallow: /activity +Disallow: /search -- cgit v1.2.3