I feel like there's no easy way to do this in rails, but since I'm fairly noob in rails I decided to ask for solutions:
I have a form in a view that contains a single (text) input. How can I specify the form url such that it will do a GET to /something/<input> ?
I know I could:
- use custom javascript code
- post to an endpoint that would do the redirect
Is there any cleaner way?
(using rails 5.2.1 if relevant)