FEATURE: Include a user's pending posts in the topic view

Also includes a refactor to TopicView's serializer which was not
building our attributes using serializers properly.
This commit is contained in:
Robin Ward
2019-04-12 09:55:27 -04:00
parent 1760069419
commit a5d9afe397
26 changed files with 503 additions and 131 deletions

View File

@@ -0,0 +1,5 @@
class AddCreatedByIndexToReviewables < ActiveRecord::Migration[5.2]
def change
add_index :reviewables, [:topic_id, :status, :created_by_id]
end
end