Commit da016744 authored by Taylor Otwell's avatar Taylor Otwell

cleaning up code.

parent a675b052
...@@ -118,7 +118,7 @@ class URL { ...@@ -118,7 +118,7 @@ class URL {
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.");
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment