Sha256: f1d7728a9505183c019fd6e4226758cccef8fae07a01166fb84b1d772bb43499
Contents?: true
Size: 417 Bytes
Versions: 71
Compression:
Stored size: 417 Bytes
Contents
if RocketCMS.active_record? class Seo < ActiveRecord::Base end end class Seo include RocketCMS::Models::Seo RocketCMS.apply_patches self belongs_to :seoable, polymorphic: true def self.separate_table? (RocketCMS.mongoid? && RocketCMS.config.separate_seo_table) || (RocketCMS.active_record? && Seo.table_exists?) end if respond_to?(:rails_admin) rails_admin &RocketCMS.seo_config end end
Version data entries
71 entries across 71 versions & 1 rubygems