app/models/landable/page.rb in landable-1.13.2 vs app/models/landable/page.rb in landable-1.14.0
- old
+ new
@@ -28,10 +28,10 @@
validate :body_strip_search
validates :redirect_url, url: true, allow_blank: true
validate :hero_asset_existence
- belongs_to :theme, class_name: 'Landable::Theme', inverse_of: :pages, counter_cache: true
+ belongs_to :theme, class_name: 'Landable::Theme', inverse_of: :pages, counter_cache: true
belongs_to :published_revision, class_name: 'Landable::PageRevision'
belongs_to :category, class_name: 'Landable::Category'
belongs_to :updated_by_author, class_name: 'Landable::Author'
belongs_to :hero_asset, class_name: 'Landable::Asset'
has_many :revisions, class_name: 'Landable::PageRevision'