You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Http/Controllers/Web/IssueController.php
+41-46Lines changed: 41 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
namespaceGitScrum\Http\Controllers\Web;
10
10
11
11
useIlluminate\Http\Request;
12
+
useGitScrum\Contracts\SlackInterfaceasSlack;
12
13
useGitScrum\Http\Requests\IssueRequest;
13
14
useGitScrum\Models\Sprint;
14
15
useGitScrum\Models\Issue;
@@ -22,58 +23,41 @@ class IssueController extends Controller
22
23
{
23
24
publicfunctionindex($slug)
24
25
{
25
-
if ($slug) {
26
-
$sprint = Sprint::slug($slug)
27
-
->with('issues.user')
28
-
->with('issues.users')
29
-
->with('issues.commits')
30
-
->with('issues.statuses')
31
-
->with('issues.status')
32
-
->with('issues.comments')
33
-
->with('issues.attachments')
34
-
->with('issues.type')
35
-
->with('issues.productBacklog')
36
-
->with('issues.sprint')
37
-
->with('issues.configEffort')
38
-
->first();
39
-
40
-
//when viewing from sprint planning, issues need to be passed in an array indexed by their status, so they can be put in the appropriate kanban columns
0 commit comments