Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/abuse_reports_controller.rb')
-rw-r--r--app/controllers/abuse_reports_controller.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/controllers/abuse_reports_controller.rb b/app/controllers/abuse_reports_controller.rb
index edeac57bc42..5a4f80fcb32 100644
--- a/app/controllers/abuse_reports_controller.rb
+++ b/app/controllers/abuse_reports_controller.rb
@@ -1,17 +1,10 @@
# frozen_string_literal: true
class AbuseReportsController < ApplicationController
- before_action :set_user, only: [:new, :add_category]
+ before_action :set_user, only: [:add_category]
feature_category :insider_threat
- def new
- @abuse_report = AbuseReport.new(
- user_id: @user.id,
- reported_from_url: params.fetch(:ref_url, '')
- )
- end
-
def add_category
@abuse_report = AbuseReport.new(
user_id: @user.id,