summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 20:34:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 20:34:09 +0000
commitc38a2112c6eb4dbd4ad221e9159aa33be197efba (patch)
tree3ae68c4112beddf621b0cc048fe3e4743d46cfc1 /app/views/admin
parenta9fc777b20dcfe08e95489fcf36e1b1b6a33580e (diff)
downloadredmine-c38a2112c6eb4dbd4ad221e9159aa33be197efba.tar.gz
redmine-c38a2112c6eb4dbd4ad221e9159aa33be197efba.zip
deprecated children_count replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@188 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index b30cf2af5..cf7c06070 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -19,7 +19,7 @@
<td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
<td><%=h project.description %>
<td align="center"><%= image_tag 'true.png' if project.is_public? %>
- <td align="center"><%= project.children_count %>
+ <td align="center"><%= project.children.size %>
<td align="center"><%= format_date(project.created_on) %>
<td align="center">
<%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %>