diff options
author | Josh Frye <joshfng@gmail.com> | 2016-01-12 20:36:28 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-01-16 18:47:12 +0300 |
commit | c70ed7f2cdc0fbecea739a08332529b71325938c (patch) | |
tree | dd50fff1b8746fedaea49aa3765ee5a19318d64b /app/controllers | |
parent | 5cd2f77769d968d10cc8e4371e88ff8be9f28c8c (diff) |
Autofill abuse message text with user url. Closes #2838
Diffstat (limited to 'app/controllers')
-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 |