Commit ad9067cb authored by Erom Dev's avatar Erom Dev Committed by Jonathan Sacksick
Browse files

Issue #3262797 by erom: Fix an issue with the bundle setting route definition.

parent d19cc14d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -59,5 +59,3 @@ entity.commerce_invoice_item.bundle_settings:
    _permission: 'administer commerce_invoice'
  options:
    _admin_route: 'TRUE'
    parameters:
      bundle: 'string'
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ class InvoiceItemTypesAdminController extends ControllerBase {

    return [
      '#markup' => $this->t('The @bundle-label bundle has no settings.', [
        '@bundle-label' => $entity_bundle_info[$bundle]['label'],
        '@bundle-label' => empty($entity_bundle_info[$bundle]) ? $bundle : $entity_bundle_info[$bundle]['label'],
      ]),
    ];
  }