Module: Enjoy::Admin::Menu
- Defined in:
- lib/enjoy/admin/menu.rb
Class Method Summary collapse
Class Method Details
.config(fields = {}) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/enjoy/admin/menu.rb', line 4 def self.config(fields = {}) Proc.new { # navigation_label 'CMS' field :enabled, :toggle field :text_slug field :name Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end |