Converts match routes to get routes for Rails 4.