correct past and upcoming conferences in admin/organizations#index

This commit is contained in:
shlok007 2017-07-11 04:59:03 +05:30
parent 036b590823
commit d2f5da1289
3 changed files with 21 additions and 2 deletions

View file

@ -20,9 +20,9 @@
%td
= organization.name
%td
= organization.conferences.count
= organization.conferences.upcoming.count
%td
= organization.conferences.count
= organization.conferences.past.count
%td
.btn-group
= link_to 'Edit', edit_admin_organization_path(organization),