From c70ed7f2cdc0fbecea739a08332529b71325938c Mon Sep 17 00:00:00 2001 From: Josh Frye Date: Tue, 12 Jan 2016 12:36:28 -0500 Subject: Autofill abuse message text with user url. Closes #2838 --- app/controllers/abuse_reports_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/abuse_reports_controller.rb') 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 -- cgit v1.2.1