Hacker News new | ask | show | jobs
by atomicnumber3 1070 days ago
Is it nonstandard? It's OOTB explicit behavior in Rails. Every form submit has an entry for what the submit button value was, and you can specify it in the ERB.
1 comments

It is nonstandard to overload endpoints and then use the submit value to route; the submit value itself is standard.