Commit 14c8878b authored by Taylor Otwell's avatar Taylor Otwell

Switch make call to static in partial method.

parent f4f82d17
......@@ -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));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment