diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 09:49:26 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 09:49:26 -0400 |
commit | 7b53d47d467115a173c642526a7d2474a22f88fb (patch) | |
tree | 43bd4f9c16d894028977f2d61476e74778527993 /app/Controller/App.php | |
parent | a7167f63c51a5fc24f7d5c6212cd125cee8cdb69 (diff) |
Improve user interface
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r-- | app/Controller/App.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php index 64f9461f..b7f79b1d 100644 --- a/app/Controller/App.php +++ b/app/Controller/App.php @@ -2,7 +2,7 @@ namespace Controller; -use Model\Project; +use Model\Project as ProjectModel; /** * Application controller @@ -19,7 +19,7 @@ class App extends Base */ public function index() { - if ($this->project->countByStatus(Project::ACTIVE)) { + if ($this->project->countByStatus(ProjectModel::ACTIVE)) { $this->response->redirect('?controller=board'); } else { |