Skip to content

Commit 9d713d3

Browse files
committed
Merge pull request #60 from dandoescode/master
[Routing] Fixing Routing bug caused by upstream Symfony commit.
2 parents 0a7ec61 + c37ea04 commit 9d713d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Routing/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ protected function setAttributes(Route $route, $action, $optional)
468468

469469
if (isset($action['domain']))
470470
{
471-
$route->setHostnamePattern($action['domain']);
471+
$route->setHostname($action['domain']);
472472
}
473473

474474
// Finally we will go through and set all of the default variables to null

0 commit comments

Comments
 (0)