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.12.4 lib/generators/para/install/templates/components.rb
para-0.12.3 lib/generators/para/install/templates/components.rb
para-0.12.2 lib/generators/para/install/templates/components.rb
para-0.12.1 lib/generators/para/install/templates/components.rb
para-0.12.0 lib/generators/para/install/templates/components.rb
para-0.11.4 lib/generators/para/install/templates/components.rb
para-0.11.3 lib/generators/para/install/templates/components.rb
para-0.11.2 lib/generators/para/install/templates/components.rb
para-0.11.1 lib/generators/para/install/templates/components.rb
para-0.11.0 lib/generators/para/install/templates/components.rb
para-0.10.0 lib/generators/para/install/templates/components.rb
para-0.9.4 lib/generators/para/install/templates/components.rb
para-0.9.3.3 lib/generators/para/install/templates/components.rb
para-0.9.3.2 lib/generators/para/install/templates/components.rb
para-0.9.3.1 lib/generators/para/install/templates/components.rb
para-0.9.2 lib/generators/para/install/templates/components.rb
para-0.9.0 lib/generators/para/install/templates/components.rb
para-0.8.15 lib/generators/para/install/templates/components.rb
para-0.8.14 lib/generators/para/install/templates/components.rb
para-0.8.13 lib/generators/para/install/templates/components.rb