Revert "Merge branch 'deploy-tokens' into 'master'"
This reverts commit3df32ac129
, reversing changes made todd1295a30f
.
This commit is contained in:
parent
d031e0e88f
commit
3142eec0ff
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue