Sha256: 753babd6cec43f3bb31034fe6b078693ef3e2f0b8eb25a542604af495fe0007d

Contents?: true

Size: 450 Bytes

Versions: 10

Compression:

Stored size: 450 Bytes

Contents

module RocketCMS
  module Models
    module Seo
      extend ActiveSupport::Concern
      include RocketCMS::Model
      include Enableable
      include RocketCMS.orm_specific('Seo')
      include RocketCMS::SeoHelpers

      included do
        RocketCMS.apply_patches self
        if RocketCMS.paperclip?
          validates_attachment_content_type :og_image, content_type: /\Aimage\/.*\Z/, if: :og_image?
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rocket_cms-0.37.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.37.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.36.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.35.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.34.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.33.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.33.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.32.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.31.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.31.0 lib/rocket_cms/models/seo.rb