/** * Return a partial. * * @param string $file The file path using dot-notation * @param array $data Data to pass through to the partial * @return UltraPress\View */ function partial($file, $data = []) { return \Ultra\View\View::partial($file, $data); }
/** * View the home page. */ public static function getHome() { View::get('pages.home'); }