Archived
1
0
Fork 0

app/Http/Controllers/Admin/*: Add flash message to destroy() redirect.

This commit is contained in:
Henrik Hautakoski 2022-01-09 11:49:50 +01:00
parent 64bfcc71e1
commit 058da68753
3 changed files with 6 additions and 3 deletions

View file

@ -23,6 +23,7 @@ class RaidController extends Controller
{
$raid->delete();
return redirect()->route('admin.raid.index');
return redirect()->route('admin.raid.index')
->with('info', __("Raid #:id was deleted.", [ 'id' => $raid->id ]));
}
}