mgsmus sağolun hocamda eklediğimde Missing required parameter for [Route: sorulars.index] [URI: teacher/quiz/{quiz_id}/sorulars] [Missing parameter: quiz_id].
yazıyor store bu kodu eklediğimde
listem şöyle
`@php
$setting = \App\Http\Controllers\Admin\SettingController::getsetting()
@endphp
<x-app-layout>
<x-slot name="header">Sorular</x-slot>
<div class="card">
<div class="card-body">
<h5 class="card-title">
<a href="{{route('sorulars.create',[$sorular_create?->id])}}" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i>Soru Oluştur</a></h5>
<table class="table">
<tr>
<th scope="col" style="background-color:#0dcaf0">Soru</th>
<th scope="col" style="background-color:#0dcaf0">Resim</th>
<th scope="col" style="background-color:#0dcaf0">A Şıkkı</th>
<th scope="col" style="background-color:#0dcaf0">B Şıkkı</th>
<th scope="col" style="background-color:#0dcaf0">C Şıkkı</th>
<th scope="col" style="background-color:#0dcaf0">D Şıkkı</th>
<th scope="col" style="background-color:#0dcaf0">Doğru Şık</th>
<th scope="col" style="background-color:#0dcaf0">Ayarlar</th>
</tr>
<tbody>
@foreach($sorular_create->sorulars as $sorular)
<tr>
<td>{!! $sorular->question!!}</td>
@if($sorular->image_question)
<td><img src="{{asset($sorular->image_question)}}" style="height: 50px;width: 50px;"></td>
@endif
@if($sorular->image_question==null)
<td>Resim Yok</td>
@endif
<td>{!! $sorular->a !!} </td>
<td>{!! $sorular->b !!} </td>
<td>{!! $sorular->c !!}</td>
<td>{!! $sorular->d !!}</td>
<td>{!! $sorular->correctanswer !!}</td>
<td>
<a href="{{route('sorulars.edit',[$sorular->quiz_id,$sorular->id])}}" class="btn btn-sm btn-primary"><i class="fa fa-edit"></i>Düzenle</a>
<a href="{{route('sorulars.destroy',[$sorular->quiz_id,$sorular->id])}}" class="btn btn-sm btn-primary"><i class="fa fa-edit"></i>Sil</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</x-app-layout>
`
create bladem böyle `<x-app-layout>
<script src="https://cdn.ckeditor.com/4.17.2/standard/ckeditor.js"></script>
<x-slot name="header">{{$quiz->title}}</x-slot>
<div class="card">
<div class="card-body">
<form action="{{route('sorulars.store',$quiz->id)}}" method="post" enctype="multipart/form-data">
@csrf
<div class="form-group">
<label>Soru</label>
<textarea name="question" id="question"> </textarea>
</div>
<div class="form-group">
<label>Resim Ekle</label>
<input type="file" name="image_question" class="form-control" rows="4" >
</div>
<div class="row">
<div class="col-md-5">
<div class="form-group">
<label for="exampleInputPassword1">A Şıkkı</label>
<textarea name="a" id="answer1" cols="3" rows="3"></textarea>
</div>
</div>
<div class="col-md-5">
<div class="form-group">
<label for="exampleInputPassword1">B Şıkkı</label>
<textarea name="b" id="answer2" cols="3" rows="3"></textarea>
</div>
</div>
<div class="col-md-5">
<div class="form-group">
<label for="exampleInputPassword1">C Şıkkı</label>
<textarea name="c" id="answer3" cols="3" rows="3"></textarea>
</div>
</div>
<div class="col-md-5">
<div class="form-group">
<label for="exampleInputPassword1">D Şıkkı</label>
<textarea name="d" id="answer4" cols="3" rows="3"></textarea>
</div>
</div>
</div>
<div class="col-md-5">
<div class="form-group">
<label for="exampleInputPassword1">Doğru Cevap</label>
<input type="text" name="correctanswer">
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-success btn-sm btn-block" >Kaydet</button>
</div>
</form>
<script>
CKEDITOR.replace( 'question' );
CKEDITOR.replace( 'answer1' );
CKEDITOR.replace( 'answer2' );
CKEDITOR.replace( 'answer3' );
CKEDITOR.replace( 'answer4' );
</script>
</div>
</div>
</x-app-layout>
`