diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
commit | 2230dd4e6b148346c0ec596b9e3e12996a762ed8 (patch) | |
tree | ef99ccde4f8b18592a3fb06a6ec45162c501fe38 /controllers/app.php | |
parent | a750b8ab2a0cb715da6fd9025a7ec8375db68a4d (diff) |
Code refactoring (add autoloader and change files organization)
Diffstat (limited to 'controllers/app.php')
-rw-r--r-- | controllers/app.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/controllers/app.php b/controllers/app.php deleted file mode 100644 index 68872a48..00000000 --- a/controllers/app.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -namespace Controller; - -require_once __DIR__.'/base.php'; - -/** - * Application controller - * - * @package controller - * @author Frederic Guillot - */ -class App extends Base -{ - /** - * Redirect to the project creation page or the board controller - * - * @access public - */ - public function index() - { - if ($this->project->countByStatus(\Model\Project::ACTIVE)) { - $this->response->redirect('?controller=board'); - } - else { - $this->redirectNoProject(); - } - } -} |