fixed issue with disk test, now with correct fix for redirection after creation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user