Migration complete
This commit is contained in:
@@ -50,8 +50,9 @@ class EntryController extends Controller
|
||||
Gate::authorize($entryPolicy, $entry);
|
||||
|
||||
$comments = EntryHelpers::getLatestComments($entry);
|
||||
$reviews = $entry->reviews()->orderBy('created_at', 'desc')->limit(10)->get();
|
||||
|
||||
return view('entries.show', compact('entry', 'section', 'comments'));
|
||||
return view('entries.show', compact('entry', 'section', 'comments', 'reviews'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user