2023-12-19 15:09:12 +00:00
|
|
|
@include('modules.script-constants')
|
2025-03-06 16:06:54 +01:00
|
|
|
<script nonce="{{ $nonce ?? '' }}">
|
2023-12-19 15:09:12 +00:00
|
|
|
if (!window.__SYSTEM._routes) {
|
|
|
|
|
window.__SYSTEM._routes = {};
|
|
|
|
|
}
|
|
|
|
|
window.__SYSTEM._routes.fo = {
|
|
|
|
|
news: {
|
|
|
|
|
filtered: "{{ route('fo.news.filtered') }}",
|
|
|
|
|
show: "{{ route('fo.news.show', ['slug' => 'SLUG']) }}"
|
|
|
|
|
},
|
|
|
|
|
ranges: {
|
|
|
|
|
filtered: "{{ route('fo.ranges.filtered') }}",
|
|
|
|
|
show: "{{ route('fo.ranges.show', ['slug' => 'SLUG']) }}"
|
|
|
|
|
},
|
|
|
|
|
products: {
|
|
|
|
|
filtered: "{{ route('fo.products.filtered') }}",
|
|
|
|
|
show: "{{ route('fo.products.show', ['slug' => 'SLUG']) }}"
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|