This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * larail.js | |
| * | |
| * Perform a DELETE or PUT request outside a form with a simple link | |
| * and some data-type attributes. For use with Laravel PHP framework. | |
| * | |
| * Step 1: For CSRF-Support you have to put in your <head> section: | |
| * <meta name="csrf-token" content="{{ csrf_token() }}"> | |
| * | |
| * Step 2: Simply build a link like this: |