fix for rails4 routes