Cleanup of finders with :conditions option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
:from => @events_by_day.keys.first %></h3>
|
||||
|
||||
<p>
|
||||
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
|
||||
<%=l(:label_reported_issues)%>: <%= Issue.where(:author_id => @user.id).count %>
|
||||
</p>
|
||||
|
||||
<div id="activity">
|
||||
|
||||
Reference in New Issue
Block a user