Categories
How to get Current Route inside Blade?
I want to implement an 'active' menu. How to get a route from a Blade template? Thank you!
Answer the question
In order to leave comments, you need to log in
@if(Route::currentRouteName() == 'имя роута') // code @endif
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question