Sha256: 468a6d32a71b14311986d98e362cd1c39ea8d0172c3e6cabb94fa0b9eee0a0e1
Contents?: true
Size: 395 Bytes
Versions: 70
Compression:
Stored size: 395 Bytes
Contents
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function() { $('#push').click(function(e) { $.ajax({ type: "POST", url: $(this).attr('href'), data: $('#data').val(), contentType: "application/octet-stream" }); e.preventDefault(); }); });
Version data entries
70 entries across 70 versions & 1 rubygems