A lot of things.

This commit is contained in:
2026-05-27 21:24:38 +02:00
parent b361f07954
commit d02baa89d6
43 changed files with 1340 additions and 231 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Helpers\EntryHelpers;
use App\Models\Entry;
use Illuminate\Http\Request;
use Illuminate\View\View;
@@ -25,7 +26,9 @@ class EntryController extends Controller
if( $entry->type !== $section )
abort(404);
return view('entries.show', compact('entry', 'section'));
$comments = EntryHelpers::getLatestComments( $entry );
return view('entries.show', compact('entry', 'section', 'comments' ) );
}