Sha256: 5a8d4b2c18b3f98ff0c66e8b75815a29b68398800c30b791277983a15f51d5be
Contents?: true
Size: 915 Bytes
Versions: 5
Compression:
Stored size: 915 Bytes
Contents
module Enjoy module Admin module Seo def self.config(is_active = true, fields = {}) Proc.new { navigation_label 'SEO' field :seoable do read_only true end field :h1, :string do searchable true end field :title, :string do searchable true end field :keywords, :text do searchable true end field :description, :text do searchable true end field :robots, :string field :og_title, :string do searchable true end field :og_image, :jcrop do jcrop_options :og_image_jcrop_options end Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems