I have a Rails 4 route as below. This defaults to a GET route. How do I make it a PUT? I'm using this route for in-place form editing but the edits don't save in the database. I'm not sure if making this a PUT is the solution but wanted to try it out. Is there a way to get the same route be a GET and PUT?
get 'orderupdate' => "orders#update"