• Arjan Weurding's avatar
    Make window.Laravel.csrfToken unneccesarry · 5b8401e1
    Arjan Weurding authored
    I don't like the fact we have to add 
    ```
    <script>
            window.Laravel = {!! json_encode([
                'csrfToken' => csrf_token(),
            ]) !!};
    </script>
    ```
    To have it working, when the docs suggest adding only the meta tag. This will get the token from the meta tag.
    5b8401e1
Name
Last commit
Last update
..
assets Loading commit data...
lang/en Loading commit data...
views Loading commit data...