Closed
Description
Hello, I suggest to implement Route::is()
and Route::has()
to check the current route.
Actually I did a workaround:
Route::is('login')
became Route::is(app()->getLocale() . '.login')
Route::has('register')
became Route::has(app()->getLocale() . '.register')
But this is no nice.
Thanks for your work
Metadata
Metadata
Assignees
Labels
No labels