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:
authorJosh Frye <joshfng@gmail.com>2016-01-12 20:36:28 +0300
committerJosh Frye <joshfng@gmail.com>2016-01-16 18:47:12 +0300
commitc70ed7f2cdc0fbecea739a08332529b71325938c (patch)
treedd50fff1b8746fedaea49aa3765ee5a19318d64b /app/controllers/abuse_reports_controller.rb
parent5cd2f77769d968d10cc8e4371e88ff8be9f28c8c (diff)
Autofill abuse message text with user url. Closes #2838
Diffstat (limited to 'app/controllers/abuse_reports_controller.rb')
-rw-r--r--app/controllers/abuse_reports_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/abuse_reports_controller.rb b/app/controllers/abuse_reports_controller.rb
index 38814459f66..2eac0cabf7a 100644
--- a/app/controllers/abuse_reports_controller.rb
+++ b/app/controllers/abuse_reports_controller.rb
@@ -2,6 +2,7 @@ class AbuseReportsController < ApplicationController
def new
@abuse_report = AbuseReport.new
@abuse_report.user_id = params[:user_id]
+ @ref_url = params.fetch(:ref_url, '')
end
def create