Commit 7024f4b6 authored by Robert Speicher's avatar Robert Speicher

Redirect to repository settings with anchor after update

parent b22049a4
......@@ -38,7 +38,7 @@ module EE
end
respond_to do |format|
format.html { redirect_to_repository_settings(project) }
format.html { redirect_to_repository_settings(project, anchor: 'js-push-remote-settings') }
format.json do
if project.errors.present?
render json: project.errors, status: :unprocessable_entity
......
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