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
effb96b9
Commit
effb96b9
authored
Feb 02, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor AutoDevopsHelper.missing_auto_devops_domain?
parent
40753029
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/helpers/auto_devops_helper.rb
app/helpers/auto_devops_helper.rb
+1
-1
No files found.
app/helpers/auto_devops_helper.rb
View file @
effb96b9
...
@@ -27,7 +27,7 @@ module AutoDevopsHelper
...
@@ -27,7 +27,7 @@ module AutoDevopsHelper
private
private
def
missing_auto_devops_domain?
(
project
)
def
missing_auto_devops_domain?
(
project
)
!
(
project
.
auto_devops
&
.
has_domain?
||
current_application_settings
.
auto_devops_domain
.
present?
)
!
(
project
.
auto_devops
||
project
.
build_auto_devops
)
&
.
has_domain?
end
end
def
missing_auto_devops_service?
(
project
)
def
missing_auto_devops_service?
(
project
)
...
...
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