Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
3142eec0
Commit
3142eec0
authored
Oct 05, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'deploy-tokens' into 'master'"
This reverts commit
3df32ac1
, reversing changes made to
dd1295a3
.
parent
d031e0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/controllers/projects/settings/repository_controller.rb
app/controllers/projects/settings/repository_controller.rb
+2
-2
No files found.
app/controllers/projects/settings/repository_controller.rb
View file @
3142eec0
...
@@ -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
re
direct_to
action: :
show
re
nder_
show
end
end
private
private
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment