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, :enjoy_image end Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end