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
d02f36d6
Commit
d02f36d6
authored
Sep 07, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes rubocop offenses
parent
38bcf699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/helpers/auto_devops_helper.rb
app/helpers/auto_devops_helper.rb
+3
-3
No files found.
app/helpers/auto_devops_helper.rb
View file @
d02f36d6
module
AutoDevopsHelper
module
AutoDevopsHelper
def
show_auto_devops_callout?
(
project
)
def
show_auto_devops_callout?
(
project
)
show_callout?
(
'auto_devops_settings_dismissed'
)
&&
show_callout?
(
'auto_devops_settings_dismissed'
)
&&
can?
(
current_user
,
:admin_pipeline
,
project
)
&&
can?
(
current_user
,
:admin_pipeline
,
project
)
&&
!
current_application_settings
.
auto_devops_enabled?
&&
!
current_application_settings
.
auto_devops_enabled?
&&
project
.
auto_devops
&
.
enabled
.
nil?
project
.
auto_devops
&
.
enabled
.
nil?
end
end
end
end
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