Is there any way to define the name of route group in laravel?
What I\'m trying to accomplish by this is to know that the current request belongs to which group so I
It should work-
inside blade-
{{ $yourRouteName = \Request::route()->getName() }} // Find the first occurrence of account in URL- @if(strpos($routeName, 'account.') === 0) console the message or your code @endif