Marcio Toze

Results 1 comments of Marcio Toze

If anyone still needs it: I changed this $.post https://github.com/wazery/ratyrate/blob/master/lib/generators/ratyrate/templates/ratyrate.js.erb#L45-L60 to: ```js.erb $.ajax({ type: "POST", beforeSend: function(xhr) {xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))}, url: '', data: { score: score, dimension: $(this).attr('data-dimension'), id: $(this).attr('data-id'), klass:...