Commit bc8fa357 authored by Taylor Otwell's avatar Taylor Otwell

fixed bug in route parameterizer.

parent 3408bb84
......@@ -92,7 +92,7 @@ class URL {
// ----------------------------------------------------
foreach ($parameters as $parameter)
{
$uri = preg_replace('/\(.+\)/', $parameter, $uri, 1);
$uri = preg_replace('/\(.+?\)/', $parameter, $uri, 1);
}
return static::to($uri, $https);
......
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