FIX: Shared draft performance fix + missing avatars

This commit is contained in:
Robin Ward
2018-03-28 16:11:43 -04:00
parent 4b5977aa6a
commit eab64710ff
5 changed files with 43 additions and 28 deletions
+15 -12
View File
@@ -26,18 +26,21 @@ class TopicList
end
end
attr_accessor :more_topics_url,
:prev_topics_url,
:draft,
:draft_key,
:draft_sequence,
:filter,
:for_period,
:per_page,
:top_tags,
:current_user,
:tags,
:shared_drafts
attr_accessor(
:more_topics_url,
:prev_topics_url,
:draft,
:draft_key,
:draft_sequence,
:filter,
:for_period,
:per_page,
:top_tags,
:current_user,
:tags,
:shared_drafts,
:category
)
def initialize(filter, current_user, topics, opts = nil)
@filter = filter