This commit is contained in:
2025-02-16 21:11:07 +02:00
parent 87bbfc33d3
commit e8d7e6a1c4
253 changed files with 3879 additions and 72 deletions
+4 -1
View File
@@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Models\Season;
use App\Models\Show;
use Illuminate\Http\Request;
@@ -20,6 +21,8 @@ class ShowController extends Controller
$comments = [];
return view('show.show', compact('show', 'comments'));
$seasons = Season::where('show_id', $show->id)->orderBy('season_number', 'ASC')->get();
return view('show.show', compact('show', 'comments', 'seasons'));
}
}