Application cleanup

This commit is contained in:
Deon George
2013-05-10 20:48:10 +10:00
parent 077c1923f3
commit 067af280af
36 changed files with 284 additions and 544 deletions

View File

@@ -12,6 +12,12 @@
class Controller_Welcome extends Controller_TemplateDefault {
protected $auth_required = FALSE;
public function action_breadcrumb() {
$this->auto_render = FALSE;
$this->response->body(Session::instance()->get_once('breadcrumb'));
}
public function action_index() {
if (! Kohana::$config->load('config')->appname)
HTTP::redirect('guide/app');
@@ -25,11 +31,5 @@ class Controller_Welcome extends Controller_TemplateDefault {
$this->template->content = $output;
}
public function action_breadcrumb() {
$this->auto_render = FALSE;
$this->response->body(Session::instance()->get_once('breadcrumb'));
}
}
?>