Commit 656cc7b8 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch '345131-minor-fix-post-transfer-redirect' into 'master'

Redirect back to edit project path

See merge request gitlab-org/gitlab!76619
parents 6b22b988 5b3109ab
......@@ -122,7 +122,7 @@ class ProjectsController < Projects::ApplicationController
return redirect_to edit_project_path(@project)
end
render_edit
redirect_to edit_project_path(@project)
end
# rubocop: enable CodeReuse/ActiveRecord
......
......@@ -941,7 +941,7 @@ RSpec.describe ProjectsController do
project.reload
expect(project.namespace).to eq(new_namespace)
expect(response).to have_gitlab_http_status(:ok)
expect(response).to redirect_to(edit_project_path(project))
end
context 'when new namespace is empty' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment