refactor(user): Update redirectRoute calls in Create and Edit components to use navigate parameter for improved navigation consistency.
This commit is contained in:
parent
877c5ea061
commit
7e7ff93184
@ -40,7 +40,7 @@ public function save(): void
|
|||||||
|
|
||||||
$this->redirectRoute('studio.master.user.index', [
|
$this->redirectRoute('studio.master.user.index', [
|
||||||
'notification' => 'Pegawai berhasil ditambahkan.',
|
'notification' => 'Pegawai berhasil ditambahkan.',
|
||||||
]);
|
], navigate: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
|
|||||||
@ -43,7 +43,7 @@ public function save(): void
|
|||||||
|
|
||||||
$this->redirectRoute('studio.master.user.index', [
|
$this->redirectRoute('studio.master.user.index', [
|
||||||
'notification' => 'Pegawai berhasil diperbarui.',
|
'notification' => 'Pegawai berhasil diperbarui.',
|
||||||
]);
|
], navigate: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user