app/models/spotlight/site.rb in blacklight-spotlight-0.14.1 vs app/models/spotlight/site.rb in blacklight-spotlight-0.14.2

- old
+ new

@@ -5,10 +5,11 @@ has_many :exhibits has_many :roles, as: :resource belongs_to :masthead, dependent: :destroy - accepts_nested_attributes_for :masthead, :exhibits + accepts_nested_attributes_for :masthead, update_only: true + accepts_nested_attributes_for :exhibits def self.instance first || create end end