Sha256: e27842781a9b12c22f4f7560f96354379838fb24b5cb49a4da743e6caf7408c9
Contents?: true
Size: 715 Bytes
Versions: 11
Compression:
Stored size: 715 Bytes
Contents
module Enjoy module Admin module SitemapData def self.config(is_active = false, fields = {}) Proc.new { navigation_label 'SEO' label I18n.t('enjoy.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::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
11 entries across 11 versions & 1 rubygems