mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
Fix highlighting the settings page while inside it
This commit is contained in:
parent
2f2ba60186
commit
5393d352e7
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>
|
||||
|
|
Loading…
Reference in a new issue