From: Toshi MARUYAMA Date: Wed, 24 Aug 2011 03:52:05 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/wiki/_sidebar.rhtml. X-Git-Tag: 1.3.0~1402 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c2ca868034b11ed535028becf546451354b95ba;p=redmine.git rename .rhtml to .html.erb of app/views/wiki/_sidebar.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@6559 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/wiki/_sidebar.html.erb b/app/views/wiki/_sidebar.html.erb new file mode 100644 index 000000000..9a24963f2 --- /dev/null +++ b/app/views/wiki/_sidebar.html.erb @@ -0,0 +1,9 @@ +<% if @wiki && @wiki.sidebar -%> + <%= textilizable @wiki.sidebar.content, :text %> +<% end -%> + +

<%= l(:label_wiki) %>

+ +<%= link_to l(:field_start_page), {:action => 'show', :id => nil} %>
+<%= link_to l(:label_index_by_title), {:action => 'index'} %>
+<%= link_to l(:label_index_by_date), {:action => 'date_index'} %>
diff --git a/app/views/wiki/_sidebar.rhtml b/app/views/wiki/_sidebar.rhtml deleted file mode 100644 index 9a24963f2..000000000 --- a/app/views/wiki/_sidebar.rhtml +++ /dev/null @@ -1,9 +0,0 @@ -<% if @wiki && @wiki.sidebar -%> - <%= textilizable @wiki.sidebar.content, :text %> -<% end -%> - -

<%= l(:label_wiki) %>

- -<%= link_to l(:field_start_page), {:action => 'show', :id => nil} %>
-<%= link_to l(:label_index_by_title), {:action => 'index'} %>
-<%= link_to l(:label_index_by_date), {:action => 'date_index'} %>