forked from jitamin/jitamin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.php
81 lines (64 loc) · 3.58 KB
/
project.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/*
* This file is part of Jitamin.
*
* Copyright (C) Jitamin Team
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
// Project routes
'project/create' => 'Project/ProjectController@create',
'project/create/private' => 'Project/ProjectController@createPrivate',
'project/store' => 'Project/ProjectController@store',
'project/{project_id}' => 'Project/ProjectController@show',
'p/{project_id}' => 'Project/ProjectController@show',
'project/{project_id}/customer-filters' => 'Project/CustomFilterController@index',
'project/{project_id}/roles' => 'Project/ProjectRoleController@show',
'project/{project_id}/activities' => 'ActivityController@project',
'project/{project_id}/tags' => 'Project/ProjectTagController@index',
// Star
'project/{project_id}/star' => 'Project/ProjectController@star',
'project/{project_id}/unstar' => 'Project/ProjectController@unstar',
// ProjectFile routes
'project/{project_id}/file/upload' => 'Project/ProjectFileController@create',
'project/{project_id}/file/{file_id}' => 'AttachmentController@show',
'project/{project_id}/browser/{file_id}' => 'AttachmentController@browser',
// Action routes
'project/{project_id}/actions' => 'Project/ActionController@index',
// Column routes
'project/{project_id}/columns' => 'Project/Column/ColumnController@index',
// Swimlane routes
'project/{project_id}/swimlanes' => 'Project/SwimlaneController@index',
// Category routes
'project/{project_id}/categories' => 'Project/CategoryController@index',
// Board routes
'board/{project_id}' => 'Project/Board/BoardController@show',
'b/{project_id}' => 'Project/Board/BoardController@show',
'public/board/{token}' => 'Project/Board/BoardController@readonly',
'board/{project_id}/collapse' => 'Project/Board/BoardAjaxController@collapse',
'board/{project_id}/expand' => 'Project/Board/BoardAjaxController@expand',
// Overview routes
'overview/{project_id}' => 'Project/ProjectController@overview',
// Gantt routes
'gantt/{project_id}' => 'Task/TaskController@gantt',
'gantt/{project_id}/sort/{sorting}' => 'Task/TaskController@gantt',
// Analytics routes
'project/{project_id}/analytics/tasks' => 'Project/AnalyticController@taskDistribution',
'project/{project_id}/analytics/users' => 'Project/AnalyticController@userDistribution',
'project/{project_id}/analytics/cfd' => 'Project/AnalyticController@cfd',
'project/{project_id}/analytics/burndown' => 'Project/AnalyticController@burndown',
'project/{project_id}/analytics/average-time-column' => 'Project/AnalyticController@averageTimeByColumn',
'project/{project_id}/analytics/lead-cycle-time' => 'Project/AnalyticController@leadAndCycleTime',
'project/{project_id}/analytics/estimated-spent-time' => 'Project/AnalyticController@compareHours',
'project/{project_id}/analytics/time-comparison' => 'Project/AnalyticController@timeComparison',
// Exports
'project/{project_id}/export/tasks' => 'Project/ExportController@tasks',
'project/{project_id}/export/subtasks' => 'Project/ExportController@subtasks',
'project/{project_id}/export/transitions' => 'Project/ExportController@transitions',
'project/{project_id}/export/summary' => 'Project/ExportController@summary',
// Import routes
'project/{project_id}/import' => 'Project/ImportController@show',
'project/{project_id}/import/download-template' => 'Project/ImportController@template',
];