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/ProjectOverviewController.php | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/Controller/ProjectOverviewController.php (limited to 'app/Controller/ProjectOverviewController.php') diff --git a/app/Controller/ProjectOverviewController.php b/app/Controller/ProjectOverviewController.php new file mode 100644 index 00000000..75cf25ba --- /dev/null +++ b/app/Controller/ProjectOverviewController.php @@ -0,0 +1,32 @@ +getProject(); + $this->project->getColumnStats($project); + + $this->response->html($this->helper->layout->app('project_overview/show', array( + 'project' => $project, + 'title' => $project['name'], + 'description' => $this->helper->projectHeader->getDescription($project), + 'users' => $this->projectUserRole->getAllUsersGroupedByRole($project['id']), + 'roles' => $this->role->getProjectRoles(), + 'events' => $this->helper->projectActivity->getProjectEvents($project['id'], 10), + 'images' => $this->projectFile->getAllImages($project['id']), + 'files' => $this->projectFile->getAllDocuments($project['id']), + ))); + } +} -- cgit v1.2.3