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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
18265323
Commit
18265323
authored
Jan 17, 2018
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ruby lint happy
parent
5af733b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/controllers/projects/deploy_keys_controller.rb
app/controllers/projects/deploy_keys_controller.rb
+3
-3
app/services/boards/base_service.rb
app/services/boards/base_service.rb
+1
-0
No files found.
app/controllers/projects/deploy_keys_controller.rb
View file @
18265323
...
...
@@ -24,10 +24,10 @@ class Projects::DeployKeysController < Projects::ApplicationController
def
create
@key
=
DeployKeys
::
CreateService
.
new
(
current_user
,
create_params
).
execute
unless
@key
.
valid?
flash
[
:alert
]
=
@key
.
errors
.
full_messages
.
join
(
', '
).
html_safe
else
if
@key
.
valid?
log_audit_event
(
@key
.
title
,
action: :create
)
else
flash
[
:alert
]
=
@key
.
errors
.
full_messages
.
join
(
', '
).
html_safe
end
redirect_to_repository_settings
(
@project
)
...
...
app/services/boards/base_service.rb
View file @
18265323
...
...
@@ -16,6 +16,7 @@ module Boards
milestone_id
=
params
[
:milestone_id
]
return
unless
milestone_id
return
if
[
::
Milestone
::
None
.
id
,
::
Milestone
::
Upcoming
.
id
,
::
Milestone
::
Started
.
id
].
include?
(
milestone_id
)
...
...
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