Sha256: 70956496a68b92681171a89141f13ce5874d25c6fd753ae1ea11196ad71423f5

Contents?: true

Size: 273 Bytes

Versions: 66

Compression:

Stored size: 273 Bytes

Contents

class Meta < ApplicationRecord
  include Concerns::Locale

  belongs_to :sluggable, polymorphic: true, touch: true

  validates :locale, presence: true

  %w(title keywords description custom slug).each do |field|
    alias_attribute "seo_#{field}".to_sym, field
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
udongo-7.2.0 app/models/meta.rb
udongo-7.1.3 app/models/meta.rb
udongo-7.1.2 app/models/meta.rb
udongo-7.1.1 app/models/meta.rb
udongo-7.1.0 app/models/meta.rb
udongo-7.0.4 app/models/meta.rb
udongo-7.0.3 app/models/meta.rb
udongo-7.0.2 app/models/meta.rb
udongo-7.0.1 app/models/meta.rb
udongo-7.0.0 app/models/meta.rb
udongo-6.6.3 app/models/meta.rb
udongo-6.6.2 app/models/meta.rb
udongo-6.6.1 app/models/meta.rb
udongo-6.6.0 app/models/meta.rb
udongo-6.5.2 app/models/meta.rb
udongo-6.5.1 app/models/meta.rb
udongo-6.5.0 app/models/meta.rb
udongo-6.4.1 app/models/meta.rb
udongo-6.4.0 app/models/meta.rb
udongo-6.3.2 app/models/meta.rb