cleaning up code.

This commit is contained in:
Taylor Otwell 2011-11-21 21:57:11 -06:00
parent a675b05237
commit da016744d0
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ public static function to_route($name, $parameters = array(), $https = false)
return static::to(str_replace(array('/(:any?)', '/(:num?)'), '', $uri), $https); return static::to(str_replace(array('/(:any?)', '/(:num?)'), '', $uri), $https);
} }
throw new \OutOfBoundsException("Error generating named route for route [$name]. Route is not defined."); throw new \OutOfBoundsException("Error getting URL for route [$name]. Route is not defined.");
} }
/** /**