I have been trying to build a system that allows the admin to create a task, and once its created a URL should pop-up that directs the admin to the created task.
This worked so far until I crossed the (blockquote below) error
Missing required parameters for [Route: lesson.continue.task] [URI: lessons/{lessonId}/tasks/{taskId}].
This is the function that creates the URL:
<div class="form-group row">
<label class="col-2 col-form-label" for="level">URL</label>
@if($task->id) {{ route('lesson.continue.task', $task) }} @endif
</div>
And this is my route:
Route::get('/lessons/{lessonId}/tasks/{taskId}', 'LessonController@continueExistingLesson')->name('lesson.continue.task');
I've been stuck on this issue for a while now, hopefully someone is able to help me out, thanks in advance.