app/models/rbacan/role.rb in rbacan-0.1.0 vs app/models/rbacan/role.rb in rbacan-0.1.1

- old
+ new

@@ -6,8 +6,8 @@ has_many :role_permissions, class_name: Rbacan.role_permission_class, dependent: :destroy has_many :permissions, class_name: Rbacan.permission_class, through: :role_permissions has_many :user_roles, class_name: Rbacan.user_role_class, dependent: :destroy - has_many :users, through: :user_roles + has_many :users, class_name: Rbacan.permittable_class, through: :user_roles end end