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
/* | |
Adapted from https://github.com/sindresorhus/github-markdown-css | |
The MIT License (MIT) | |
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
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
/* | |
Adapted from https://github.com/sindresorhus/github-markdown-css | |
The MIT License (MIT) | |
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
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
Meta tag: | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
Link for sending the ajax like button or smth else: | |
<a href="{{ url('drlresult') }}" class="submit-selection" data-link="{{ url('getAjax') }}" data-token="{{ csrf_token() }}">Radiatorselectie opslaan/toevoegen</a> | |
ajax setup in the beggining of JS after document ready: | |
$.ajaxSetup({ | |
headers: { | |
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |