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
fd428a2c
Commit
fd428a2c
authored
Sep 05, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix AutoDevopsHelper settings
parent
440e9311
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
473 additions
and
27 deletions
+473
-27
app/helpers/auto_devops_helper.rb
app/helpers/auto_devops_helper.rb
+1
-1
db/schema.rb
db/schema.rb
+472
-26
No files found.
app/helpers/auto_devops_helper.rb
View file @
fd428a2c
...
...
@@ -2,7 +2,7 @@ module AutoDevopsHelper
def
show_auto_devops_callout?
(
project
)
show_callout?
(
'auto_devops_settings_dismissed'
)
&&
can?
(
current_user
,
:admin_pipeline
,
project
)
&&
!
current_settings
.
auto_devops_enabled?
&&
!
current_
application_
settings
.
auto_devops_enabled?
&&
project
.
auto_devops
&
.
enabled
.
nil?
end
end
db/schema.rb
View file @
fd428a2c
This diff is collapsed.
Click to expand it.
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