From c37ea04dc13fb930436c16e6a30e9c113cc2f07f Mon Sep 17 00:00:00 2001 From: Daniel Horrigan Date: Tue, 15 Jan 2013 13:36:44 -0500 Subject: [PATCH] [Routing] Fixing bug caused by upstream Symfony commit https://github.com/symfony/Routing/commit/b815198cebc6740e053e8e4cd2138c86a6886868 --- src/Illuminate/Routing/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php index e6600512a279..2fa561fa42e1 100644 --- a/src/Illuminate/Routing/Router.php +++ b/src/Illuminate/Routing/Router.php @@ -468,7 +468,7 @@ protected function setAttributes(Route $route, $action, $optional) if (isset($action['domain'])) { - $route->setHostnamePattern($action['domain']); + $route->setHostname($action['domain']); } // Finally we will go through and set all of the default variables to null