Sha256: 89698548d059e41845df612b807fb60c466c298e8a923864f3bde89af260fa0d
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 Bytes
Contents
module Enjoy::Pages module Admin module Menu def self.config(fields = {}) Proc.new { navigation_label I18n.t('enjoy.pages') field :enabled, :toggle do searchable false end field :text_slug do searchable true end field :name do searchable true end Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enjoy_cms_pages-0.4.1 | lib/enjoy/pages/admin/menu.rb |
enjoy_cms_pages-0.4.0 | lib/enjoy/pages/admin/menu.rb |
enjoy_cms_pages-0.4.0.beta3 | lib/enjoy/pages/admin/menu.rb |