Sha256: 8bc0778b5660bdda0b96f81af0fbe73f69251ac8ca311f8f432428f8ffa69dea

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

module Enjoy
  module Admin
    module Seo
      extend ActiveSupport::Concern
      include Enjoy::Model
      include Enableable
      include Enjoy.orm_specific('Seo')
      include Enjoy::SeoHelpers

      included do

        Enjoy.apply_patches self
        validates_attachment_content_type :og_image, content_type: /\Aimage\/.*\Z/, if: :og_image?
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enjoy_cms-0.2.0.2 lib/enjoy/admin/seo.rb
enjoy_cms-0.2.0.1.beta lib/enjoy/admin/seo.rb
enjoy_cms-0.2.0.beta lib/enjoy/admin/seo.rb
enjoy_cms-0.1.0.beta1 lib/enjoy/admin/seo.rb