Sha256: bff86eedd8710cc183f44bb8a317dcfba7e634087ddd8c4b52fc1f298296ba85
Contents?: true
Size: 987 Bytes
Versions: 2
Compression:
Stored size: 987 Bytes
Contents
module Enjoy::Seo 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 if Enjoy::Seo.config.gallery_support field :og_image, :jcrop do jcrop_options :og_image_jcrop_options end end Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enjoy_cms_seo-0.4.0 | lib/enjoy/seo/admin/seo.rb |
enjoy_cms_seo-0.4.0.beta3 | lib/enjoy/seo/admin/seo.rb |