Small fix for rails4. Replace match with get in routes.