From 09a7f9ef85c192df9e870310d383f10fa844264d Mon Sep 17 00:00:00 2001 From: Anthony Legiret Date: Fri, 3 Nov 2017 09:25:04 +0100 Subject: Correct ProjectApiFormatter file name --- app/Formatter/ProjectApiApiFormatter.php | 39 -------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 app/Formatter/ProjectApiApiFormatter.php (limited to 'app/Formatter/ProjectApiApiFormatter.php') diff --git a/app/Formatter/ProjectApiApiFormatter.php b/app/Formatter/ProjectApiApiFormatter.php deleted file mode 100644 index 5521d57c..00000000 --- a/app/Formatter/ProjectApiApiFormatter.php +++ /dev/null @@ -1,39 +0,0 @@ -project = $project; - return $this; - } - - /** - * Apply formatter - * - * @access public - * @return mixed - */ - public function format() - { - if (! empty($this->project)) { - $this->project['url'] = array( - 'board' => $this->helper->url->to('BoardViewController', 'show', array('project_id' => $this->project['id']), '', true), - 'list' => $this->helper->url->to('TaskListController', 'show', array('project_id' => $this->project['id']), '', true), - ); - } - - return $this->project; - } -} -- cgit v1.2.3