Skip to content

Commit 75d6979

Browse files
committed
fix ziggy exception in error page (closes #649)
1 parent 432597c commit 75d6979

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

resources/views/app.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
{{-- <x-sharp::extensions.custom-fields-script />--}}
2525

2626
@php
27-
config()->set('ziggy', ['only' => 'code16.sharp.*', 'skip-route-function' => true])
27+
config()->set('ziggy', ['only' => 'code16.sharp.*', 'skip-route-function' => true]);
28+
\Tightenco\Ziggy\BladeRouteGenerator::$generated = false; // Don't generate "merge script" (https://github.com/code16/sharp/issues/649)
2829
@endphp
2930
@routes
3031
@inertiaHead

0 commit comments

Comments
 (0)