Fix routes for rails 4.1