diff --git a/application/controller/IndexController.php b/application/controller/IndexController.php index 951d8e6..5bef37d 100644 --- a/application/controller/IndexController.php +++ b/application/controller/IndexController.php @@ -27,8 +27,7 @@ class IndexController extends Katharsis_Controller_Abstract */ public function indexAction() { - $controller = new PageController(); - $controller->homeAction(); + // will be overwritten by IndexRedirect Plugin } /** diff --git a/library/Local/Controller/Plugin/IndexRedirect.php b/library/Local/Controller/Plugin/IndexRedirect.php new file mode 100644 index 0000000..5b6fcc3 --- /dev/null +++ b/library/Local/Controller/Plugin/IndexRedirect.php @@ -0,0 +1,12 @@ +