Redirect back to edit project path
What does this MR do and why?
Minor follow up to !72361 (merged) ensures that we redirect back to the edit
project page after successfully transferring a project to a new namespace. The /transfer route only responds to a put request, so redirecting there does not load the javascript for the page correctly.
Previously this would occur with a client side redirect coming from the transfer.js.haml file, but we can now perform this directly in the projects controller.
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
How to set up and validate locally
- Navigate to an existing project's settings page, for example
http://<gdk>/flightjs/flight/edit - Scroll to the bottom and expand the
advancedsection - Under
Transfer projectselect a new namespace from the dropdown - Click the
transfer projectbutton then confirm the project name - You will be redirect to the edit project path, using the new namespace
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #345131 (closed)

