I'm having the following link_to
link_to 'Close Discussion', blog_discussion_path(@blog, @note, note: {
state_transaction: :close }, only_status: true), method: :put
The parameters state_transaction and only_status are encoded within the
query. This is is what I want to hide/remove.
Colin Law wrote in post #1154239:
> If you are literally 'sending data to the server' then generally this
> should be sent using a POST, so the data will not be in the url.
You mean changing the method to method: post and add another route?