in my jquery post I have code like this
function checkBill(trs_id, bill_id){
$.ajax({
type: 'POST',
url: "/check_bill",
data: {bill_id: bill_id, transaction_id: trs_id},
headers: {
'X-CSRF-Token': '<%= form_authenticity_token.to_s %>'
},
dataType: 'script'
});
}
in my controller successfully get params for jquery post, but I get error missing template in my log? I don't know why? I guess jquery post not need template