Switch make call to static in partial method.

This commit is contained in:
Taylor Otwell 2011-07-26 14:36:47 -05:00
parent f4f82d1761
commit 14c8878b67
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ protected function find()
*/
public function partial($key, $view, $data = array())
{
return $this->bind($key, View::make($view, $data));
return $this->bind($key, static::make($view, $data));
}
/**