Commit 3142eec0 authored by Stan Hu's avatar Stan Hu

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

This reverts commit 3df32ac1, reversing
changes made to dd1295a3.
parent d031e0e8
...@@ -14,10 +14,10 @@ module Projects ...@@ -14,10 +14,10 @@ module Projects
@new_deploy_token = DeployTokens::CreateService.new(@project, current_user, deploy_token_params).execute @new_deploy_token = DeployTokens::CreateService.new(@project, current_user, deploy_token_params).execute
if @new_deploy_token.persisted? 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 end
redirect_to action: :show render_show
end end
private 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