Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Module url caught by Bagisto

    Modules
    2
    2
    175
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rabol last edited by

      Hi

      I'm trying do develop a new module, and I have tried to follow the doc's, but my module's url get's caught by a system url

      My module URL is like this admin/createtaxrates
      but it get's caught by the ProductsCategoriesProxy controller

          Route::get('{slugOrPath}', \Webkul\Shop\Http\Controllers\ProductsCategoriesProxyController::class . '@index')
              ->defaults('_config', [
                  'product_view' => 'shop::products.view',
                  'category_view' => 'shop::products.index'
              ])
              ->where('slugOrPath', '^([a-z0-9-]+\/?)+$')
              ->name('shop.productOrCategory.index');
      

      any hint why ?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @rabol

        This issue has been fixed, kindly take pull from master branch of bagisto.

        Thanks

        1 Reply Last reply Reply Quote 0
        • First post
          Last post