X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5add3cf67145e1d3ccefcfb6095b8e56321e2057..965f32d545d7c44ad7b36264b818b930a50d8901:/app/models/report.rb diff --git a/app/models/report.rb b/app/models/report.rb index 5b238dcac..f997215a8 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -1,5 +1,5 @@ class Report < ActiveRecord::Base belongs_to :issue - belongs_to :user + belongs_to :user, :class_name => "User", :foreign_key => :reporter_user_id end