التوجيه بعد الإجراءات:
توجيه أساسي
public function save()
{
Post::create($this->data);
return redirect()->route('posts.index');
}مع رسالة فلاش
public function save()
{
Post::create($this->data);
session()->flash('success', 'تم إنشاء المنشور!');
return redirect()->route('posts.index');
}التنقل بدون تحديث
public function save()
{
Post::create($this->data);
return $this->redirect('/posts', navigate: true);
}التوجيه للمكون
return $this->redirectRoute('posts.show', ['post' => $post]);