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

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

diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
new file mode 100644 (file)
index 0000000..197c32a
--- /dev/null
@@ -0,0 +1,8 @@
+<% unless controller_name == 'admin' && action_name == 'index' %>
+       <% content_for :sidebar do %>
+               <h3><%=l(:label_administration)%></h3>
+         <%= render :partial => 'admin/menu' %>
+       <% end %>
+<% end %>
+
+<%= render :file => "layouts/base" %>
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml
deleted file mode 100644 (file)
index 197c32a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<% unless controller_name == 'admin' && action_name == 'index' %>
-       <% content_for :sidebar do %>
-               <h3><%=l(:label_administration)%></h3>
-         <%= render :partial => 'admin/menu' %>
-       <% end %>
-<% end %>
-
-<%= render :file => "layouts/base" %>