From: Toshi MARUYAMA Date: Sat, 27 Aug 2011 03:18:00 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/documents/_document.rhtml. X-Git-Tag: 1.3.0~1302 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d83d1298a269897e48c1a6b696e627dfe166832;p=redmine.git rename .rhtml to .html.erb of app/views/documents/_document.rhtml. :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 --- diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb new file mode 100644 index 000000000..644cf2fbd --- /dev/null +++ b/app/views/documents/_document.html.erb @@ -0,0 +1,6 @@ +

<%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %>

+

<%= format_time(document.updated_on) %>

+ +
+ <%= textilizable(truncate_lines(document.description)) %> +
diff --git a/app/views/documents/_document.rhtml b/app/views/documents/_document.rhtml deleted file mode 100644 index 644cf2fbd..000000000 --- a/app/views/documents/_document.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %>

-

<%= format_time(document.updated_on) %>

- -
- <%= textilizable(truncate_lines(document.description)) %> -