]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/news/_news.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 14:18:17 +0000 (14:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 14:18:17 +0000 (14:18 +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@6815 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/news/_news.html.erb b/app/views/news/_news.html.erb
new file mode 100644 (file)
index 0000000..ddbaeca
--- /dev/null
@@ -0,0 +1,6 @@
+<p><%= link_to_project(news.project) + ': ' unless @project %>
+<%= link_to h(news.title), news_path(news) %>
+<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
+<br />
+<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
+<span class="author"><%= authoring news.created_on, news.author %></span></p>
diff --git a/app/views/news/_news.rhtml b/app/views/news/_news.rhtml
deleted file mode 100644 (file)
index ddbaeca..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<p><%= link_to_project(news.project) + ': ' unless @project %>
-<%= link_to h(news.title), news_path(news) %>
-<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
-<br />
-<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
-<span class="author"><%= authoring news.created_on, news.author %></span></p>