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
b01eff0c
Commit
b01eff0c
authored
May 07, 2020
by
syasonik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move publish check to its own method
parent
9955183f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ee/app/services/status_page/publish_service.rb
ee/app/services/status_page/publish_service.rb
+5
-5
No files found.
ee/app/services/status_page/publish_service.rb
View file @
b01eff0c
...
@@ -35,11 +35,11 @@ module StatusPage
...
@@ -35,11 +35,11 @@ module StatusPage
attr_reader
:user
,
:project
,
:issue_id
attr_reader
:user
,
:project
,
:issue_id
def
process_details
def
process_details
if
issue
.
confidential?
unpublish_details?
?
unpublish_details
:
publish_details
unpublish_details
end
else
publish_details
def
unpublish_details?
end
issue
.
confidential?
end
end
def
process_list
def
process_list
...
...
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