@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(is_array($menu_item[1]))
-
@else
-
@endif
@endforeach
-
{{ Auth::user()->name }}
@endif