mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: admin reports were broken
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
**/
|
||||
export default Discourse.Route.extend({
|
||||
model: function(params) {
|
||||
return Discourse.Report.find(params.type);
|
||||
const Report = require('admin/models/report').default;
|
||||
return Report.find(params.type);
|
||||
},
|
||||
|
||||
setupController: function(controller, model) {
|
||||
|
||||
Reference in New Issue
Block a user