vendredi 13 avril 2018

How the Url path from file path name to another name in laravel

Fins below the route code.

Route::get('clientlayout.main.index','InvoiceTicketController@show');
Route::get('clientlayout.main.mydomains','InvoiceTicketController@set');

When I run these routes I'm getting the url as

http://localhost:8000/clientlayout.main.index and http://localhost:8000/clientlayout.main.mydomains.

I want my Url to be changed as follows: http://localhost:8000/index and http://localhost:8000/mydomains.

Suggest me a solution for changing the route to rectify this issue.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire