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

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

diff --git a/app/views/common/_preview.html.erb b/app/views/common/_preview.html.erb
new file mode 100644 (file)
index 0000000..fd95f11
--- /dev/null
@@ -0,0 +1,3 @@
+<fieldset class="preview"><legend><%= l(:label_preview) %></legend>
+<%= textilizable @text, :attachments => @attachements, :object => @previewed %>
+</fieldset>
diff --git a/app/views/common/_preview.rhtml b/app/views/common/_preview.rhtml
deleted file mode 100644 (file)
index fd95f11..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<fieldset class="preview"><legend><%= l(:label_preview) %></legend>
-<%= textilizable @text, :attachments => @attachements, :object => @previewed %>
-</fieldset>