Sha256: 5440d8a61275911d9bf69a132883c7d55265b8f4d18c7ce383d71854b0351b21

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

module Enjoy
  module Admin
    module Menu
      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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enjoy_cms-0.3.6.2 lib/enjoy/admin/menu.rb
enjoy_cms-0.3.6.1 lib/enjoy/admin/menu.rb
enjoy_cms-0.3.6 lib/enjoy/admin/menu.rb
enjoy_cms-0.3.5 lib/enjoy/admin/menu.rb
enjoy_cms-0.3.4 lib/enjoy/admin/menu.rb
enjoy_cms-0.3.3 lib/enjoy/admin/menu.rb