Use get/post instead of match on routes

Rails 4 had removed `match` method on the routes. We can migrate the `match` right now on rails 3.2.

review @shingara