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

This reverts commit 3df32ac129, reversing
changes made to dd1295a30f.
This commit is contained in:
Stan Hu 2018-10-05 07:01:04 -07:00
parent d031e0e88f
commit 3142eec0ff

View file

@ -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