Skip to content

Commit

Permalink
Merge pull request ManageIQ#20785 from d-m-u/change_cattr_accessor_in…
Browse files Browse the repository at this point in the history
…_rel_mixin

replace cattr_accessor in rel mixin with a class_attribute
  • Loading branch information
kbrock authored Nov 6, 2020
2 parents c491c7c + d6bc698 commit 826da1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/relationship_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module RelationshipMixin
included do
extend Memoist

cattr_accessor :default_relationship_type
class_attribute :default_relationship_type
class_attribute :skip_relationships, :default => []

has_many :all_relationships, :class_name => "Relationship", :dependent => :destroy, :as => :resource
Expand Down

0 comments on commit 826da1b

Please sign in to comment.