-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use blade component for submit redirect on asset edit/create #15172
Conversation
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
PR Summary
Note: Any minor changes related to code formatting and indentation that do not have an impact on code logic have not been elaborated in this summary. |
Oops - just found a small bug on the back button. Will handle it. |
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
Signed-off-by: snipe <[email protected]>
This builds off the great work @Godmartinz did with the checkout/checkin options and extends it out to creating/editing assets as well.
I switched those redirects to
->to()
and returning the route instead of doing the redirect right in the helper, since that makes it more flexible with confirmation messages. I also used slightly friendlier names for the types of things we can redirect to, so I don't have to remember what 0, 1, and 2 are :)Thanks very much for your help with this, @uberbrady!