Verwendung des Segments in Laravel 8

 Request::segment(1) == 'course' ? 'side-menu--active' : '' 
kinjal suryavanshi