Skip to content

Commit d22c823

Browse files
committed
Use relative path for custom routes
1 parent 93b5853 commit d22c823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/partials/menu_item.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@elseif (strpos($key, $pagePrefix) === 0)
2121
<a href="{{route('admin_page', array(substr($key, strlen($pagePrefix)), false))}}">{{$item}}</a>
2222
@elseif (strpos($key, $routePrefix) === 0)
23-
<a href="{{route(substr($key, strlen($routePrefix)))}}">{{$item}}</a>
23+
<a href="{{route(substr($key, strlen($routePrefix)), [], false)}}">{{$item}}</a>
2424
@else
2525
<a href="{{route('admin_index', array($key), false)}}">{{$item}}</a>
2626
@endif

0 commit comments

Comments
 (0)