FEATURE: View flags grouped by topic
This commit is contained in:
@@ -323,6 +323,14 @@ export default function() {
|
||||
]);
|
||||
});
|
||||
|
||||
this.get('/admin/flagged_topics', () => {
|
||||
return response(200, {
|
||||
"flagged_topics": [
|
||||
{ id: 1 }
|
||||
]
|
||||
});
|
||||
});
|
||||
|
||||
this.get('/admin/customize/site_texts', request => {
|
||||
|
||||
if (request.queryParams.overridden) {
|
||||
|
||||
@@ -13,7 +13,6 @@ export default function() {
|
||||
if (type === "adapter:rest") {
|
||||
if (!this._restAdapter) {
|
||||
this._restAdapter = RestAdapter.create({ owner: this });
|
||||
// this._restAdapter.container = this;
|
||||
}
|
||||
return this._restAdapter;
|
||||
}
|
||||
@@ -37,4 +36,4 @@ export default function() {
|
||||
},
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user