Implement caching on admin event view
This commit is contained in:
parent
4bd961f703
commit
d40229a054
1 changed files with 124 additions and 122 deletions
|
|
@ -1,3 +1,4 @@
|
|||
- cache ['admin/event', @conference, @event, @event_types, @tracks, @difficulty_levels] do
|
||||
.row
|
||||
.col-md-12
|
||||
%h3
|
||||
|
|
@ -117,6 +118,7 @@
|
|||
votes: @votes,
|
||||
conference_id: @conference.short_title
|
||||
|
||||
- cache [@conference, @event, @comments] do
|
||||
.row
|
||||
= link_to "Comments (#{@comment_count})", '#', id: 'event-comment-link'
|
||||
#comments-div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue