Sha256: ee74b2fa204e6398932ec9c48d706b762441eb1ca82f0a68e73886f55ce22025
Contents?: true
Size: 729 Bytes
Versions: 6
Compression:
Stored size: 729 Bytes
Contents
module Enjoy::Seo module Admin module SitemapData def self.config(is_active = false, fields = {}) Proc.new { navigation_label 'SEO' label I18n.t('enjoy.seo.sitemap_data') field :sitemap_data_field do read_only true end field :sitemap_show, :toggle field :sitemap_lastmod field :sitemap_changefreq, :enum do enum do Enjoy::Seo::SitemapData::SITEMAP_CHANGEFREQ_ARRAY end end field :sitemap_priority Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems