I know this is likely incredibly simple, put I just can’t seem to get my head around it.
So, in a scaffold-generated app, I’m looking to have a link/button in show.html.erb that would change the status_id of the current entry/row to 3.
I understand how to make GET, POST and DELETE commands, put I’m not getting the syntax right for issuing a PUT command to the update method in the controller (link_to, button_to?)
Thanks!
Controller