How to create new route in voyager in menu

Solved Posted In Voyager
  • tag-dev 10 months ago
    How to create new route in voyager not working
    Route::group(['prefix' => 'admin'], function () {
        Voyager::routes();
    		    Route::get('/orders/finished', '[email protected]')->name('order.finished');
    
    		}
    		-----------------------------------
    		got Errors when i visit /admin/orders/finished
    		----------------------
    		Sorry, the page you are looking for could not be found.

    How to create new route in voyager not working Route::group(['prefix' => 'admin'], function () { Voyager::routes(); Route::get('/orders/finished', '[email protected]')->name('order.finished');

    	}
    	-----------------------------------
    	got Errors when i visit /admin/orders/finished
    	----------------------
    	Sorry, the page you are looking for could not be found.
    
  • Best Answer

    (As selected by tag-dev)

    tag-dev 10 months ago
    SORRY FOR QUESTION BUT I FOUND THE FIX  | keep it as a refrence for any one not professional like me
    The fix is  the link mast be awey and dosent contains any name of bread linke in any part of it
    EX)
    
    /orders/finshed   => will not work  | bcz i have already /orders Bread links 
    But  /orderrr/finshed will work good sorry for my bad english. Thanks voyager team.

    SORRY FOR QUESTION BUT I FOUND THE FIX | keep it as a refrence for any one not professional like me The fix is the link mast be awey and dosent contains any name of bread linke in any part of it EX)

    /orders/finshed => will not work | bcz i have already /orders Bread links But /orderrr/finshed will work good sorry for my bad english. Thanks voyager team.

  • tag-dev 10 months ago
    SORRY FOR QUESTION BUT I FOUND THE FIX  | keep it as a refrence for any one not professional like me
    The fix is  the link mast be awey and dosent contains any name of bread linke in any part of it
    EX)
    
    /orders/finshed   => will not work  | bcz i have already /orders Bread links 
    But  /orderrr/finshed will work good sorry for my bad english. Thanks voyager team.

    SORRY FOR QUESTION BUT I FOUND THE FIX | keep it as a refrence for any one not professional like me The fix is the link mast be awey and dosent contains any name of bread linke in any part of it EX)

    /orders/finshed => will not work | bcz i have already /orders Bread links But /orderrr/finshed will work good sorry for my bad english. Thanks voyager team.

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
tnylea
Cheers Friend!

I'm Tony, the creator of this site. I'm trying to increase my twitter following. Want to follow me?

Follow @tnylea If not, no worries :)