Skip to content

Commit 8f28c55

Browse files
authored
Update TalksController.php
1 parent 825fc0b commit 8f28c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/TalksController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function approveAction(Request $request, Talk $talk): RedirectResponse
175175
public function votes($talk)
176176
{
177177
$votes = Vote::with('user')->where('talk_id',$talk->id)->get();
178-
return view('talks.votes')->with('votes',$votes);
178+
return view('talks.votes',['votes' => $votes, 'talk' => $talk->title]);
179179

180180
}
181181
}

0 commit comments

Comments
 (0)