lib/enjoy/models/seo.rb in enjoy_cms-0.2.0.2 vs lib/enjoy/models/seo.rb in enjoy_cms-0.2.0.3

- old
+ new

@@ -6,9 +6,11 @@ include Enjoy::Enableable include Enjoy.orm_specific('Seo') included do + belongs_to :seoable, polymorphic: true + validates_attachment_content_type :og_image, content_type: /\Aimage\/.*\Z/, if: :og_image? end end end end