Closed fyrts closed 6 months ago
I've added a Route::hasLocalized method, analogous to Laravel's Route::has method for checking if a named route exists:
Route::hasLocalized
Route::has
@if (Route::hasLocalized('login')) <a href="{{ localized_route('login') }}">{{ __('auth.login') }}</a> @endif
Looks good, thanks @fyrts!
I've added a
Route::hasLocalized
method, analogous to Laravel'sRoute::has
method for checking if a named route exists: