Switch make call to static in partial method.
This commit is contained in:
parent
f4f82d1761
commit
14c8878b67
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue