Commit 2f720ddd authored by Robert Speicher's avatar Robert Speicher

Merge branch 'sh-revert-broken-deploy-key-change' into 'master'

Revert "Merge branch 'deploy-tokens' into 'master'"

Closes #52228

See merge request gitlab-org/gitlab-ce!22149
parents 059da9bc 3142eec0
......@@ -14,10 +14,10 @@ module Projects
@new_deploy_token = DeployTokens::CreateService.new(@project, current_user, deploy_token_params).execute
if @new_deploy_token.persisted?
flash[:notice] = s_('DeployTokens|Your new project deploy token has been created.')
flash.now[:notice] = s_('DeployTokens|Your new project deploy token has been created.')
end
redirect_to action: :show
render_show
end
private
......
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