I have the following route:
Route::get('shop/browse/{category?}', 'ShopController@browse');
I would like to append some query parameters whether category param is present or not. Is there a better way to do it instead of passing optional params as null? e.g.
<a href="">Browse</a>
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2TMYgOM
via IFTTT
Aucun commentaire:
Enregistrer un commentaire