|
|
|
|
|
by cmwright
5163 days ago
|
|
Would love to see some more information on best practices for routing. I've always used http://guides.rubyonrails.org/routing.html as a go-to resource on routing, and it uses 'match' statements throughout. Is the suggestion here to just change all match statements to the intended REST verb? |
|
The match statement is good for the occasional odd cases, but it has an :via option that can be used to restrict which HTTP actions it is allowed to match.
Edit: corrected below...thanks!