Allow bundles to respond to root requests.

Signed-off-by: Jason Lewis <[email protected]>
This commit is contained in:
Jason Lewis
2012-07-27 12:30:41 +09:30
parent 5c3ede74d9
commit f408fcc26b
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ class Bundle {
foreach (static::$bundles as $key => $value)
{
if (isset($value['handles']) and starts_with($uri, $value['handles'].'/'))
if (isset($value['handles']) and starts_with($uri, $value['handles'].'/') or $value['handles'] == '/')
{
return $key;
}