Please sign in to comment.
Add params option for button_to
The parameters are rendered as hidden form fields within the generated form. This is useful for when a record has multiple buttons associated with it, each of which target the same controller method, but which need to submit different attributes.
- Loading branch information...
Showing with 19 additions and 0 deletions.