Bagisto Forum

    Bagisto

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

    Routes undefined but i have already set routes on routes.php file on admin

    General Discussion
    3
    3
    1497
    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.
    • _
      _developer_12 last edited by

      I am getting this error : -

      Route [admin.admin.printing-matrix.index] not defined. (View: C:\xampp\htdocs\bagisto\packages\Webkul\Admin\src\Resources\views\layouts\master.blade.php) (View: C:\xampp\htdocs\bagisto\packages\Webkul\Admin\src\Resources\views\layouts\master.blade.php)

      but i have already set in routes.php file like : -

                  Route::get('/products', 'Webkul\PrintingMatrix\Http\Controllers\PrintingMatrixController@index')->defaults('_config', [
                      'view' => 'admin::catalog.printing-matrix.index'
                  ])->name('admin.catalog.printing-matrix.index');   
              }
      
      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hello @_developer_12

        Your route name is admin.catalog.printing-matrix.index according to route you have created and you have used admin.admin.printing-matrix.index.

        Kindly use this one - admin.catalog.printing-matrix.index

        Thnaks

        1 Reply Last reply Reply Quote 0
        • D
          dgcasino last edited by

          Thanks for sharing this valuable information.

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