]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/documents/_document.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:18:00 +0000 (03:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:18:00 +0000 (03:18 +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@6660 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb
new file mode 100644 (file)
index 0000000..644cf2f
--- /dev/null
@@ -0,0 +1,6 @@
+<h4><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %></h4>
+<p><em><%= format_time(document.updated_on) %></em></p>
+
+<div class="wiki">
+       <%= textilizable(truncate_lines(document.description)) %>
+</div>
diff --git a/app/views/documents/_document.rhtml b/app/views/documents/_document.rhtml
deleted file mode 100644 (file)
index 644cf2f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<h4><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %></h4>
-<p><em><%= format_time(document.updated_on) %></em></p>
-
-<div class="wiki">
-       <%= textilizable(truncate_lines(document.description)) %>
-</div>