public function view() {
$path = func_get_args();
if (!count($path)) {
$path = array('home');
$body = 'class="home"';
$homepage = true;
$constrained = true;
$testimonials = $this->_testimonials();
$this->set(compact('body', 'homepage', 'constrained', 'testimonials'));
}
$count = count($path);
$page = $subpage = $title = null;
$page = (!empty($path[0]) ? $path[0] : $page);
$subpage = (!empty($path[1]) ? $path[1] : $subpage);
$title = (!empty($path[$count - 1]) ? Inflector::humanize($path[$count - 1]) : $title);
$this->set(compact('page', 'subpage', 'title'));
$this->render(array('template' => join('/', $path)));
}