Skip to content

Commit

Permalink
fix admin user delete redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Nov 25, 2024
1 parent 426e9e6 commit 6e98bab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ private function buildDeleteAction(): Actions\Action
{
return Actions\DeleteAction::make()->using(function () {
$this->getRep()->destroy($this->record->id);
return redirect(self::$resource::getUrl('index'));
});
}

Expand Down

0 comments on commit 6e98bab

Please sign in to comment.