diff --git a/resources/views/templates/dashboard.blade.php b/resources/views/templates/dashboard.blade.php index 8faefef..e8d92fb 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?:\/\//', '/^[^\/]*\/[^\/]*\//', '/\/.*/' ], [ '', '', '' ], Request::url())) @section('page-includes')