mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Fix the dashboard current_page variable so it behaves like it's supposed to
This commit is contained in:
parent
a223f89ec4
commit
523165f5ba
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
<script src="/js/lib-dashboard.js?version={{ env('CACHE_BUST') }}"></script>
|
||||
|
|
Loading…
Reference in a new issue