From 0929719a845897cc8567cf972e07a69a71f0fa6f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 30 Nov 2023 13:29:08 -0500 Subject: Migrate to a full rails app --- app/assets/javascripts/wittle.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/assets/javascripts/wittle.js (limited to 'app/assets/javascripts/wittle.js') 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 @@ +$.ajaxSetup({ + headers: { + 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') + } +}); -- cgit 1.4.1