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

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

diff --git a/app/views/common/_file.html.erb b/app/views/common/_file.html.erb
new file mode 100644 (file)
index 0000000..13ad8bb
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="autoscroll">
+<table class="filecontent syntaxhl">
+<tbody>
+<% line_num = 1 %>
+<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
+<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
+<% line_num += 1 %>
+<% end %>
+</tbody>
+</table>
+</div>
diff --git a/app/views/common/_file.rhtml b/app/views/common/_file.rhtml
deleted file mode 100644 (file)
index 13ad8bb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="autoscroll">
-<table class="filecontent syntaxhl">
-<tbody>
-<% line_num = 1 %>
-<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
-<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
-<% line_num += 1 %>
-<% end %>
-</tbody>
-</table>
-</div>