Minor refactoring to help with Tags RSS

This commit is contained in:
Robin Ward
2015-02-12 11:53:21 -05:00
parent e207ca36ee
commit 8ec4d07bf2
4 changed files with 3 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ module TopicListResponder
format.html do
@list = list
store_preloaded(list.preload_key, MultiJson.dump(TopicListSerializer.new(list, scope: guardian)))
render 'list'
render 'list/list'
end
format.json do
render_serialized(list, TopicListSerializer)