Link suspensions to the staff logs page

This commit is contained in:
Robin Ward
2018-01-26 15:40:03 -05:00
parent ee155bd4f2
commit 36d836ba40
5 changed files with 33 additions and 15 deletions

View File

@ -64,6 +64,12 @@ export default Ember.Controller.extend(CanCheckEmails, {
anonymize() { return this.get('model').anonymize(); },
destroy() { return this.get('model').destroy(); },
viewActionLogs() {
this.get('adminTools').showActionLogs(this, {
target_user: this.get('model.username'),
});
},
showFlagsReceived() {
this.get('adminTools').showFlagsReceived(this.get('model'));
},