We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c06e1 commit 9a067f4Copy full SHA for 9a067f4
src/rails.js
@@ -186,7 +186,7 @@
186
var href = rails.href(link),
187
method = link.data('method'),
188
target = link.attr('target'),
189
- params = link.attr('params'),
+ params = link.data('params'),
190
csrf_token = $('meta[name=csrf-token]').attr('content'),
191
csrf_param = $('meta[name=csrf-param]').attr('content'),
192
form = $('<form method="post" action="' + href + '"></form>'),
0 commit comments