X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/683722ed5c1b3224a04c23b4d175a0638964f713..faf4c5aa7a3c75b89d32b7d2205d004f9aa99cb7:/app/models/user.rb diff --git a/app/models/user.rb b/app/models/user.rb index 3d262fd25..866074766 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -26,7 +26,7 @@ class User < ActiveRecord::Base has_many :roles, :class_name => "UserRole" - has_many :issues + has_many :issues, :class_name => "Issue", :foreign_key => :reported_user_id has_many :issue_comments has_many :reports