Skip to content

Commit

Permalink
Merge pull request #20790 from d-m-u/change_cattr_accessor_in_miq_policy
Browse files Browse the repository at this point in the history
prefer class attribute over cattr_accessor in miq_policy
  • Loading branch information
kbrock authored Nov 9, 2020
2 parents 03d7376 + 080e97b commit 9d88284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MiqPolicy < ApplicationRecord

attr_accessor :reserved

cattr_accessor :associations_to_get_policies
class_attribute :associations_to_get_policies

@@built_in_policies = nil

Expand Down

0 comments on commit 9d88284

Please sign in to comment.