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

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

diff --git a/app/views/wikis/destroy.html.erb b/app/views/wikis/destroy.html.erb
new file mode 100644 (file)
index 0000000..75c0eac
--- /dev/null
@@ -0,0 +1,10 @@
+<h2><%=l(:label_confirmation)%></h2>
+
+<div class="box"><center>
+<p><strong><%= h(@project.name) %></strong><br /><%=l(:text_wiki_destroy_confirmation)%></p>
+
+<% form_tag({:controller => 'wikis', :action => 'destroy', :id => @project}) do %>
+<%= hidden_field_tag "confirm", 1 %>
+<%= submit_tag l(:button_delete) %>
+<% end %>
+</center></div>
diff --git a/app/views/wikis/destroy.rhtml b/app/views/wikis/destroy.rhtml
deleted file mode 100644 (file)
index 75c0eac..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<h2><%=l(:label_confirmation)%></h2>
-
-<div class="box"><center>
-<p><strong><%= h(@project.name) %></strong><br /><%=l(:text_wiki_destroy_confirmation)%></p>
-
-<% form_tag({:controller => 'wikis', :action => 'destroy', :id => @project}) do %>
-<%= hidden_field_tag "confirm", 1 %>
-<%= submit_tag l(:button_delete) %>
-<% end %>
-</center></div>