fix routes for rails4
fix routes after merge