Sha256: 746558cd9c0147414fbc67b6437cde059a976417eda85fbdec65251559a741cf

Contents?: true

Size: 934 Bytes

Versions: 3

Compression:

Stored size: 934 Bytes

Contents

Alchemy::Modules.register_module({
  engine_name: 'spree',
  name: 'solidus',
  navigation: {
    controller: 'spree/admin/orders',
    action: 'index',
    name: 'Store',
    image: 'alchemy/solidus/alchemy_module_icon.png',
    data: { turbolinks: false },
    sub_navigation: [
      {
        controller: 'spree/admin/orders',
        action: 'index',
        name: 'Orders'
      },
      {
        controller: 'spree/admin/products',
        action: 'index',
        name: 'Products'
      },
      {
        controller: 'spree/admin/promotions',
        action: 'index',
        name: 'Promotions'
      },
      {
        controller: 'spree/admin/stock_items',
        action: 'index',
        name: 'Stock'
      <%- if defined?(Spree::Auth::Engine) -%>
      },
      {
        controller: 'spree/admin/users',
        action: 'index',
        name: 'Users'
      }
      <%- else -%>
      }
      <%- end -%>
    ]
  }
})

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-solidus-2.3.2 lib/generators/alchemy/solidus/install/templates/alchemy.rb.tt
alchemy-solidus-2.3.1 lib/generators/alchemy/solidus/install/templates/alchemy.rb.tt
alchemy-solidus-2.3.0 lib/generators/alchemy/solidus/install/templates/alchemy.rb.tt