Also highlight the active dashboard nav section when editing an item

This commit is contained in:
Kevin MacMartin 2021-07-18 14:35:44 -04:00
parent 79a3079e41
commit 9924246966

View file

@ -1,5 +1,5 @@
@extends('templates.base', [ 'title' => 'Dashboard' ])
@set('current_page', preg_replace([ '/^.*\//' ], [ '' ], Request::url()))
@set('current_page', preg_replace([ '/https?:\/\/[^\/]*\/dashboard\/[^\/]*\//', '/\/.*/' ], [ '', '' ], Request::url()))
@section('page-includes')
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>