Split board controller into multiple classes

This commit is contained in:
Frederic Guillot
2016-05-28 14:05:57 -04:00
parent 1353929a7d
commit 8d12e2fe73
37 changed files with 129 additions and 116 deletions

View File

@@ -44,7 +44,7 @@ class ProjectGanttFormatter extends BaseFormatter implements FormatterInterface
(int) date('j', $end),
),
'link' => $this->helper->url->href('ProjectViewController', 'show', array('project_id' => $project['id'])),
'board_link' => $this->helper->url->href('board', 'show', array('project_id' => $project['id'])),
'board_link' => $this->helper->url->href('BoardViewController', 'show', array('project_id' => $project['id'])),
'gantt_link' => $this->helper->url->href('gantt', 'project', array('project_id' => $project['id'])),
'color' => $color,
'not_defined' => empty($project['start_date']) || empty($project['end_date']),