There was an error while loading. Please reload this page.
1 parent e04fc3d commit a40ee7dCopy full SHA for a40ee7d
app/Http/Controllers/QuestionController.php
@@ -25,8 +25,8 @@ public function show(Question $question)
25
[
26
'answer_ids' => Answer::get_answer_ids($question),
27
'recent_questions' => Question::top_relevant(
28
- Question::get_tags($question)->toArray(),
29
- $question
+ Question::get_tags($question->id)->toArray(),
+ $question->id
30
),
31
'answers' => Answer::get_sorted($question),
32
'question' => $question,
0 commit comments