@php
$route = explode('.',Route::currentRouteName());
@endphp
@if(count($route) > 1)
@if($route[1] !== 'index' && $route[1] !== 'users')
{{ $route[1] }}
@endif
@endif
{{ ucfirst(str_replace('-',' ',$route[0])) }}
-
Dashboard
-
@if(count($route) > 1)
@if($route[1] !== 'index' && $route[1] !=='users')
- {{ ucfirst(str_replace('-',' ',$route[0])) }}
-
- {{ ucfirst(str_replace('-',' ',$route[1])).' '.ucfirst(str_replace('-',' ',$route[0]))}}
@else
- {{ ucfirst(str_replace('-',' ',$route[0])) }}
@endif
@else
- {{ ucfirst(str_replace('-',' ',$route[0])) }}
@endif