ldc-le-gaulois-pro/resources/views/modules/script-routes.blade.php
2023-09-27 10:46:07 +02:00

15 lines
481 B
PHP

@include('modules.script-constants')
<script @if (isset($nonce)) nonce="{{ $nonce }}" @endif>
if (!window.__SYSTEM._routes) {
window.__SYSTEM._routes = {}
}
window.__SYSTEM._routes['crud-policies'] = {
{{-- upload: '{{ route('crud-policies.upload') }}' --}}
};
window.__SYSTEM._routes.bo = {
tags: {
store: '{{ route('bo.tags.store') }}',
jsonStore: '{{ route('bo.tags.jsonStore') }}'
},
};
</script>