]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/welcome/robots.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 13:01:33 +0000 (13:01 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 13:01:33 +0000 (13:01 +0000)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6794 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/welcome/robots.html.erb [new file with mode: 0644]
app/views/welcome/robots.rhtml [deleted file]

diff --git a/app/views/welcome/robots.html.erb b/app/views/welcome/robots.html.erb
new file mode 100644 (file)
index 0000000..c6e206b
--- /dev/null
@@ -0,0 +1,9 @@
+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
diff --git a/app/views/welcome/robots.rhtml b/app/views/welcome/robots.rhtml
deleted file mode 100644 (file)
index c6e206b..0000000
+++ /dev/null
@@ -1,9 +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