Switch make call to static in partial method.
This commit is contained in:
@@ -127,7 +127,7 @@ class View {
|
||||
*/
|
||||
public function partial($key, $view, $data = array())
|
||||
{
|
||||
return $this->bind($key, View::make($view, $data));
|
||||
return $this->bind($key, static::make($view, $data));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user