]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/wiki/_sidebar.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 24 Aug 2011 03:52:05 +0000 (03:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 24 Aug 2011 03:52:05 +0000 (03:52 +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@6559 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

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