X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f99c383318c4f9ea15639f0566f3e42db4e2c8b1..01b84a810703041bc4a5011068214c92de0a5bec:/app/models/user_role.rb diff --git a/app/models/user_role.rb b/app/models/user_role.rb index f3d48cade..a081361a7 100644 --- a/app/models/user_role.rb +++ b/app/models/user_role.rb @@ -19,7 +19,7 @@ # user_roles_user_id_fkey (user_id => users.id) # -class UserRole < ActiveRecord::Base +class UserRole < ApplicationRecord belongs_to :user belongs_to :granter, :class_name => "User"