return Response::forge(View::forge('welcome/index'));to send a view. Its ok for me to use this on my views so i can include my header and/or footer ?
echo View::forge('my_header');
// Carregar a página. // $view = View::factory('empresa/inicio'); // Carregar os views. // $view->topo = View::factory('topo'); $view->footer = View::factory('footer'); // Mostrar a página. // $this->response->body = $view;
// Carregar a página. // $view = View::factory('empresa/inicio'); // Carregar os views. // $view->topo = View::factory('topo'); $view->footer = View::factory('footer'); // Mostrar a página. // return Response::forge($view);
It looks like you're new here. If you want to get involved, click one of these buttons!