diff --git a/resources/views/templates/dashboard.blade.php b/resources/views/templates/dashboard.blade.php index 0446fee..3cb8850 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([ '/https?:\/\/[^\/]*\/dashboard\/[^\/]*\//', '/\/.*/' ], [ '', '' ], Request::url())) +@set('current_page', preg_match('/\/settings$/', Request::url()) ? 'settings' : preg_replace([ '/https?:\/\/[^\/]*\/dashboard\/[^\/]*\//', '/\/.*/' ], [ '', '' ], Request::url())) @section('page-includes')