Sha256: 5eb9dfc9d43b7ebe2b971503bac530663f31124defc4fc77a21db15ba32cc3b2

Contents?: true

Size: 635 Bytes

Versions: 54

Compression:

Stored size: 635 Bytes

Contents

Para.components.draw do
  # Create a components section in the menu with a :menu identifier
  # You can translate the section title at: components.section.menu
  #
  # section :menu do
  #  # Creating crud components can be done the following way
  #  #
  #  component :pages,   :crud
  #  component :members, :crud, model_type: 'User'
  #  component :news,    :crud, model_type: 'Page', namespaced: true

  #  # Creating a component allowing you to edit a single resource is done
  #  # with the `singleton_resource` component, the following way
  #  #
  #  component :home,    :singleton_resource, model_type: 'HomePage'
  # end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
para-0.8.12 lib/generators/para/install/templates/components.rb
para-0.8.11 lib/generators/para/install/templates/components.rb
para-0.8.10 lib/generators/para/install/templates/components.rb
para-0.8.9 lib/generators/para/install/templates/components.rb
para-0.8.8 lib/generators/para/install/templates/components.rb
para-0.8.7 lib/generators/para/install/templates/components.rb
para-0.8.5 lib/generators/para/install/templates/components.rb
para-0.8.3.3 lib/generators/para/install/templates/components.rb
para-0.8.3.2 lib/generators/para/install/templates/components.rb
para-0.8.3.1 lib/generators/para/install/templates/components.rb
para-0.8.3 lib/generators/para/install/templates/components.rb
para-0.8.2.3 lib/generators/para/install/templates/components.rb
para-0.8.2.2 lib/generators/para/install/templates/components.rb
para-0.8.2.1 lib/generators/para/install/templates/components.rb
para-0.8.2 lib/generators/para/install/templates/components.rb
para-0.8.1 lib/generators/para/install/templates/components.rb
para-0.8.0 lib/generators/para/install/templates/components.rb
para-0.7.4.p1 lib/generators/para/install/templates/components.rb
para-0.7.4 lib/generators/para/install/templates/components.rb
para-0.7.3.p6 lib/generators/para/install/templates/components.rb