I am trying to use
link_to to create a button linking to an action on a controller, but received the following error message:
Please provided a String to link_to as the the second argument. The Jets link_to helper takes as the second argument.
Looks like it requires
link_to to provide text and link. This works for endpoint with GET, but link_to with
method: :post still generates a link that performs GET instead of the expected POST action.