Skip to content

Commit d3e65d3

Browse files
author
Andrey Helldar
committed
Fixed Uncaught SyntaxError: Unexpected token '&'
1 parent a123172 commit d3e65d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/routes.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class="link"
179179
};
180180
181181
const colorScheme = () => {
182-
switch ({{ json_encode(config('pretty-routes.color_scheme', 'auto')) }}) {
182+
switch ({!! json_encode(config('pretty-routes.color_scheme', 'auto')) !!}) {
183183
case 'dark':
184184
return true;
185185
case 'light':

0 commit comments

Comments
 (0)