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:
parent
0fd903a251
commit
69e9b006df
|
@ -1,8 +1,8 @@
|
||||||
<h3><%=l(:label_news_latest)%></h3>
|
<h3><%=l(:label_news_latest)%></h3>
|
||||||
|
|
||||||
<%= render(:partial => 'news/news',
|
<%= render(:partial => 'news/news',
|
||||||
:collection => News.find(:all,
|
:collection => News.find(:all,
|
||||||
:limit => 10,
|
:limit => 10,
|
||||||
:order => "#{News.table_name}.created_on DESC",
|
:order => "#{News.table_name}.created_on DESC",
|
||||||
:conditions => "#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
|
: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? %>
|
||||||
|
|
Loading…
Reference in New Issue