New static routes <3 for global and single assets, also, deprecating the all view

This commit is contained in:
Belen Curcio
2017-02-14 16:06:13 -03:00
parent 586d3c4c8a
commit bbb82b6a77
9 changed files with 64 additions and 68 deletions
@@ -1,12 +1,6 @@
#import "../fragments/commentView.graphql"
query ModQueue ($asset_id: ID!) {
all: comments(query: {
statuses: [REJECTED, PREMOD],
asset_id: $asset_id
}) {
...commentView
}
premod: comments(query: {
statuses: [PREMOD],
asset_id: $asset_id