Fix routes for rails 4.1

Using match without :via in the routes seem to be no longer supported. I've changed the route to get only.