From 1353929a7dbd3f2e897fa7d3ab88e959ca573f9f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 13:41:54 -0400 Subject: Rename controllers --- app/Controller/Listing.php | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 app/Controller/Listing.php (limited to 'app/Controller/Listing.php') diff --git a/app/Controller/Listing.php b/app/Controller/Listing.php deleted file mode 100644 index 93a7b836..00000000 --- a/app/Controller/Listing.php +++ /dev/null @@ -1,45 +0,0 @@ -getProject(); - $search = $this->helper->projectHeader->getSearchQuery($project); - - $paginator = $this->paginator - ->setUrl('listing', 'show', array('project_id' => $project['id'])) - ->setMax(30) - ->setOrder(TaskModel::TABLE.'.id') - ->setDirection('DESC') - ->setQuery($this->taskLexer - ->build($search) - ->withFilter(new TaskProjectFilter($project['id'])) - ->getQuery() - ) - ->calculate(); - - $this->response->html($this->helper->layout->app('listing/show', array( - 'project' => $project, - 'title' => $project['name'], - 'description' => $this->helper->projectHeader->getDescription($project), - 'paginator' => $paginator, - ))); - } -} -- cgit v1.2.3