fixed module composer view when using named views.

This commit is contained in:
Taylor Otwell 2011-09-03 09:10:54 -05:00
parent 3fbb85768a
commit ab02e46490
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ protected static function of($name, $data = array())
{
if ($name === $value or (isset($value['name']) and $name === $value['name']))
{
$key = ($module !== 'application') ? $module.'::'.$key : $key;
return new static($key, $data);
}
}