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