diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 069a56a5..66d47554 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -131,7 +131,7 @@ $.when( $.ready ).then(function() { data[config] = $(this).val(); }); - $.post('/test_config', { data }, function(data) { + $.post('/test_config', { data: data }, function(data) { alert(data); });