diff --git a/resources/views/templates/dashboard.blade.php b/resources/views/templates/dashboard.blade.php index 689df02..0446fee 100644 --- a/resources/views/templates/dashboard.blade.php +++ b/resources/views/templates/dashboard.blade.php @@ -1,5 +1,5 @@ @extends('templates.base', [ 'title' => 'Dashboard' ]) -@set('current_page', preg_replace([ '/^.*\//' ], [ '' ], Request::url())) +@set('current_page', preg_replace([ '/https?:\/\/[^\/]*\/dashboard\/[^\/]*\//', '/\/.*/' ], [ '', '' ], Request::url())) @section('page-includes')