Compare commits
2 Commits
b052a85d24
...
8c81e990b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c81e990b8 | |||
|
|
d489f6117f |
@ -46,8 +46,6 @@ public function destroy(AcademicTerm $AcademicTerm): RedirectResponse
|
||||
{
|
||||
$this->service->delete($AcademicTerm);
|
||||
|
||||
Inertia::flash('toast', ['type' => 'success', 'message' => 'Periode akademik berhasil dihapus.']);
|
||||
|
||||
return back();
|
||||
return Inertia::flash('toast', ['type' => 'success', 'message' => 'Periode akademik berhasil dihapus.'])->back();
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,8 +46,6 @@ public function destroy(Department $department): RedirectResponse
|
||||
{
|
||||
$this->service->delete($department);
|
||||
|
||||
Inertia::flash('toast', ['type' => 'success', 'message' => 'Jurusan berhasil dihapus.']);
|
||||
|
||||
return back();
|
||||
return Inertia::flash('toast', ['type' => 'success', 'message' => 'Jurusan berhasil dihapus.'])->back();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user