about summary refs log tree commit diff stats
path: root/app/assets/javascripts/wittle.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/wittle.js')
-rw-r--r--app/assets/javascripts/wittle.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/wittle.js b/app/assets/javascripts/wittle.js new file mode 100644 index 0000000..883a4b8 --- /dev/null +++ b/app/assets/javascripts/wittle.js
@@ -0,0 +1,5 @@
1$.ajaxSetup({
2 headers: {
3 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')
4 }
5});