/**
  * Redirect classic routing from the old iRail to the new
  * way the routing is done
  */
 public function redirectHomeRoute($departure_station, $destination_station)
 {
     $departure = \hyperRail\StationString::convertToId($departure_station);
     $destination = \hyperRail\StationString::convertToId($destination_station);
     if ($departure != null && $destination != null) {
         header("HTTP/1.1 301 Moved Permanently");
         return Redirect::to("https://" . _DOMAIN_ . "/route" . "?from=" . $departure->{'@id'} . "&to=" . $destination->{'@id'} . "&time=" . date("Hi") . "&auto=true");
     } else {
         return "It looks like we couldn't convert your route request to the new format :(";
     }
 }