Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Generator - domain support
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Magosa committed Oct 16, 2014
1 parent 97a0754 commit 965ba13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KM/Saffron/UrlMatcher/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function compileRoute(Route $route)
if ($route->hasDomain()) {
$cond[] = sprintf(
'preg_match(%s, $domain, $domainMatch)',
$route->getDomain()
var_export($route->getDomainRegex(), true)
);
}

Expand Down

0 comments on commit 965ba13

Please sign in to comment.