Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Added an optional redirect#69

Merged
BadChoice merged 2 commits intomasterfrom
feature/redirect
Aug 2, 2023
Merged

Added an optional redirect#69
BadChoice merged 2 commits intomasterfrom
feature/redirect

Conversation

@alexrevo
Copy link

@alexrevo alexrevo commented Aug 2, 2023

No description provided.

return back()->withErrors(['message' => $e->getMessage()]);
}
if (request()->ajax()) { return response()->json($result);}
if (session()->has('thrust-redirect')) { return redirect(session('thrust-redirect'));}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unifiquem el back en una funció

@BadChoice BadChoice merged commit d3731e7 into master Aug 2, 2023
@alexrevo alexrevo deleted the feature/redirect branch June 10, 2024 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants