Skip to content

Commit 54930b2

Browse files
Videos will be shown as well, if the cp route has been changed
1 parent db13b6f commit 54930b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/videos/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414

1515
@forelse ($videos as $video)
16-
<a href="/cp/how-to-addon/video/{{ $video->slug() }}" class="w-full lg:w-1/2 p-3 border-b md:flex hover:bg-grey-10">
16+
<a href="/{{ config('statamic.cp.route') }}/how-to-addon/video/{{ $video->slug() }}" class="w-full lg:w-1/2 p-3 border-b md:flex hover:bg-grey-10">
1717
<div class="h-8 w-8 mr-2 hidden md:block text-blue">
1818
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1919
<path d="M4.435.913l8.936 3.573a1 1 0 0 1 .629.928v16.848a1 1 0 0 1-1.371.927l-8-3.2A1 1 0 0 1 4 19.062V1.739a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-2"

0 commit comments

Comments
 (0)