@set('current_page', preg_replace([ '/^.*\/dashboard\/?/', '/\/.*/' ], [ '', '' ], Request::url()))
{{ env('APP_NAME') }} Dashboard
@if (Auth::guest())
- Login
@if(env('REGISTRATION', false))
- Register
@endif
@else
@foreach(App\Models\DashboardMenu::$menu as $menu_item)
@if(array_key_exists('submenu', $menu_item))
-
@else
-
@endif
@endforeach
-
{{ Auth::user()->name }}
@endif