First commit
This commit is contained in:
16
controllers/app.php
Normal file
16
controllers/app.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Controller;
|
||||
|
||||
class App extends Base
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
if ($this->project->countByStatus(\Model\Project::ACTIVE)) {
|
||||
$this->response->redirect('?controller=board');
|
||||
}
|
||||
else {
|
||||
$this->redirectNoProject();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user