protected function render($view, $params = array()) { $view .= $this->layout ? " with " . $this->layout : ""; return $this->app->view($view, $params); }