mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Fix the dashboard current_page variable
This commit is contained in:
parent
e7643992b1
commit
79a3079e41
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
@extends('templates.base', [ 'title' => 'Dashboard' ])
|
@extends('templates.base', [ 'title' => 'Dashboard' ])
|
||||||
@set('current_page', preg_replace([ '/https?:\/\//', '/^[^\/]*\/[^\/]*\//', '/\/.*/' ], [ '', '', '' ], Request::url()))
|
@set('current_page', preg_replace([ '/^.*\//' ], [ '' ], Request::url()))
|
||||||
|
|
||||||
@section('page-includes')
|
@section('page-includes')
|
||||||
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>
|
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>
|
||||||
|
|
Loading…
Reference in a new issue