Fix routes for rails 3