caching comment counts
This commit is contained in:
parent
89840d0bab
commit
9c6286182e
5 changed files with 36 additions and 2 deletions
|
|
@ -184,4 +184,4 @@
|
|||
%ul.dropdown-menu{ role: 'menu' }
|
||||
= render 'change_state_dropdown', event: event
|
||||
%td.text-center
|
||||
= link_to "#{event.comment_threads.count}", admin_conference_program_event_path(@conference.short_title, event), anchor: 'comments-div'
|
||||
= link_to "#{event.comments_count}", admin_conference_program_event_path(@conference.short_title, event), anchor: 'comments-div'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue