Following code snip don't work when function has parameter..
<div class="dropdown-menu">
<p class="red">Choose Language</p>
@foreach (config('app.available_locales') as $locale)
<a href="">
</a>
@endforeach
</div>
Above code in not worked when there function has parameter
localhost:8000/en/company/1/detail
localhost:8000/cn/company/2/detail
how to create link that change only locale (en,cn...) parameter in current route in laravel 5.8
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire