Sha256: f00369f3f0556a4c1acf53ebb42465ccf796df88f0291abf553e6f52bfacff84

Contents?: true

Size: 404 Bytes

Versions: 102

Compression:

Stored size: 404 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
        validates_attachment_content_type :og_image, content_type: /\Aimage\/.*\Z/, if: :og_image?
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 2 rubygems

Version Path
rocket_cms-0.22.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.21.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.21.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.20.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.20.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.8 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.7 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.6 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.4 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.3 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.2 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.19.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.5 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.4 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.3 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.2 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.1 lib/rocket_cms/models/seo.rb
rocket_cms-0.18.0 lib/rocket_cms/models/seo.rb
rocket_cms-0.17.2 lib/rocket_cms/models/seo.rb