Skip to content

Commit

Permalink
Merge pull request #73 from TCC-Klaiton-Diogo/feature/TKD-93
Browse files Browse the repository at this point in the history
TKD-93 - Ajustar redirecionamento ao excluir work
  • Loading branch information
Haaragard authored Oct 23, 2022
2 parents 216c056 + cff40e6 commit 82d2b2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public function __invoke(DestroyMyWorkRequest $request): RedirectResponse
->firstOrFail()
->delete();

return redirect()->route('user.worker.my-works')->with('destroy', $workDeleted);
return redirect()->route('user.worker.my-works.show')->with('destroy', $workDeleted);
}
}

0 comments on commit 82d2b2c

Please sign in to comment.