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

View File

@@ -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));
}
/**