[Routing] fix Route recompilation when hostname changed

This commit is contained in:
Tobias Schultze 2012-11-19 01:12:13 +01:00
parent 00d132a6d3
commit acf8a70420

View File

@ -149,6 +149,7 @@ class Route implements \Serializable
public function setHostnamePattern($pattern)
{
$this->hostnamePattern = (string) $pattern;
$this->compiled = null;
return $this;
}