This jquery ajax call always submits as a get even though it is a put request. Ideas why?
jQuery →
$(".activity_status").click ->
#alert person_id
$.ajax ->
type: 'PUT'
url: "/answers/"
data: "person[id]="+person_id
This jquery ajax call always submits as a get even though it is a put request. Ideas why?
jQuery →
$(".activity_status").click ->
#alert person_id
$.ajax ->
type: 'PUT'
url: "/answers/"
data: "person[id]="+person_id