routes fixed for rails4