From: Andy Allan Date: Wed, 12 Jul 2017 12:36:48 +0000 (+0100) Subject: Set the reported_user in a callback X-Git-Tag: live~2953^2~112 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/506c0b5f0db8aca79ef61fa45cad508b7167817a?hp=506c0b5f0db8aca79ef61fa45cad508b7167817a;ds=sidebyside Set the reported_user in a callback This avoids passing around the reported_user via forms. There was no validation anywhere that the reported_user corresponded to the object being reported. This approach removes those worries too. ---