fixed issue with disk test, now with correct fix for redirection after creation

This commit is contained in:
Mark Gregory
2026-06-25 09:07:43 +01:00
parent 0d5b9dbf06
commit 9564676ed3
2 changed files with 27 additions and 9 deletions
+1 -2
View File
@@ -115,9 +115,8 @@ final class TicketCreate extends Component
'due_at' => $this->due_at,
'tag_ids' => $this->tag_ids,
], $this->attachments);
session()->flash('success', 'Ticket ' . $ticket->reference . ' has been created.');
return $this->redirectRoute('helpdesk.tickets.index');
return redirect()->to(route('helpdesk.tickets.index'));
} finally {
$this->isSaving = false;
}