diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-07 15:46:37 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-15 23:09:25 +0300 |
commit | a09323c9f5df69a60d00278dec64775821751711 (patch) | |
tree | 9ec7ce6bc5cad1e47c8258776b30d2988a116998 /app | |
parent | 4231cfeba5f6de519a8609b8aa8a6880e38c2414 (diff) |
Fix broken specs
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/admin/abuse_reports_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/abuse_reports_controller.rb b/app/controllers/admin/abuse_reports_controller.rb index 2463cfa87be..a3f78e34776 100644 --- a/app/controllers/admin/abuse_reports_controller.rb +++ b/app/controllers/admin/abuse_reports_controller.rb @@ -6,7 +6,7 @@ class Admin::AbuseReportsController < Admin::ApplicationController def destroy abuse_report = AbuseReport.find(params[:id]) - abuse_report.remove_user if params[:remove_user] + abuse_report.remove_user(current_user) if params[:remove_user] abuse_report.destroy render nothing: true |