diff options
author | Josh Frye <joshfng@gmail.com> | 2016-01-12 12:36:28 -0500 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-01-16 10:47:12 -0500 |
commit | c70ed7f2cdc0fbecea739a08332529b71325938c (patch) | |
tree | dd50fff1b8746fedaea49aa3765ee5a19318d64b /app/controllers/abuse_reports_controller.rb | |
parent | 5cd2f77769d968d10cc8e4371e88ff8be9f28c8c (diff) | |
download | gitlab-ce-c70ed7f2cdc0fbecea739a08332529b71325938c.tar.gz |
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.rb | 1 |
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 |