Sha256: b0309e40a606b2476362efa99c37201f16e99b08b6e847fb1a8275fcab24350a
Contents?: true
Size: 539 Bytes
Versions: 62
Compression:
Stored size: 539 Bytes
Contents
Rails.application.config.to_prepare do Alchemy::Modules.register_module({ name: '<%= @module_name %>', order: 1, navigation: { name: 'modules.<%= @module_name %>', controller: '/admin/<%= @module_name %>', action: 'index', image: 'alchemy/<%= @module_name %>_module.png', sub_navigation: [{ name: 'modules.<%= @module_name %>', controller: '/admin/<%= @module_name %>', action: 'index' }] } }) Alchemy.register_ability(<%= @controller_class %>Ability) end
Version data entries
62 entries across 62 versions & 1 rubygems