Hacker News new | ask | show | jobs
by homakov 5170 days ago
Fix: not :method but :via :)

And, again! PLEASE use method "data" instead of match :via => method. It's much better and looks clean.

2 comments

In exactly what sense do you think that's better?
it does absolutely same job(you can read sources) but requires less symbols and looks RESTful - fair enough, isn't it?
Sorry, you're right about the :via, I must have misremembered.