mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Dashboard metrics link to their report pages
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
Discourse.Report = Discourse.Model.extend({});
|
||||
Discourse.Report = Discourse.Model.extend({
|
||||
reportUrl: function() {
|
||||
return("/admin/reports/" + this.get('type'));
|
||||
}.property('type')
|
||||
});
|
||||
|
||||
Discourse.Report.reopenClass({
|
||||
find: function(type) {
|
||||
|
||||
Reference in New Issue
Block a user