mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
12 lines
294 B
Ruby
12 lines
294 B
Ruby
class Admin::AbuseReportsController < Admin::ApplicationController
|
|
def index
|
|
@abuse_reports = AbuseReport.order(id: :desc).page(params[:page])
|
|
end
|
|
|
|
def destroy
|
|
AbuseReport.find(params[:id]).destroy
|
|
|
|
redirect_to admin_abuse_reports_path, notice: 'Report was removed'
|
|
end
|
|
end
|