mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -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' ])
|
||||
@set('current_page', preg_replace([ '/https?:\/\//', '/^[^\/]*\/[^\/]*\//', '/\/.*/' ], [ '', '', '' ], Request::url()))
|
||||
@set('current_page', preg_replace([ '/^.*\//' ], [ '' ], Request::url()))
|
||||
|
||||
@section('page-includes')
|
||||
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>
|
||||
|
|
Loading…
Reference in a new issue