Skip to content

Instantly share code, notes, and snippets.

View oumar90's full-sized avatar

DJIME OUMAR RATOU oumar90

View GitHub Profile
jQuery(function () {
var larails = {
// Define the name of the hidden input field for method submission
methodInputName: '_method',
// Define the name of the hidden input field for token submission
tokenInputName: '_token',
// Define the name of the meta tag from where we can get the csrf-token
metaNameToken: 'csrf-token',