Use a button to toggle proposal selection

As mentioned in commit 5311daadf, using buttons for non-GET requests has
several advantages over using links.
This commit is contained in:
Javi Martín
2021-08-20 02:33:05 +02:00
parent 43b6ab00e3
commit b127bd2f51
3 changed files with 8 additions and 8 deletions

View File

@@ -1 +1 @@
<%= link_to text, path, options %>
<%= button_to text, path, options %>