remove trailing white-spaces from app/views/my/blocks/_news.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7221 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-14 08:40:33 +00:00
parent 0fd903a251
commit 69e9b006df
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<h3><%=l(:label_news_latest)%></h3>
<%= render(:partial => 'news/news',
<%= render(:partial => 'news/news',
:collection => News.find(:all,
:limit => 10,
:order => "#{News.table_name}.created_on DESC",
:conditions => "#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
:include => [:project, :author])) unless @user.projects.empty? %>
:include => [:project, :author])) unless @user.projects.empty? %>