diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-09-07 14:23:05 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-09-07 14:23:05 +0300 |
commit | d02f36d63c844c2a7ecd825df90745cb7951d982 (patch) | |
tree | 24e8b7a4d0b8fcda042b0618786dba1d14b3caef /app/helpers/auto_devops_helper.rb | |
parent | 38bcf699abf1f8cec7b4e11c914e1baae57f9b81 (diff) |
Fixes rubocop offenses
Diffstat (limited to 'app/helpers/auto_devops_helper.rb')
-rw-r--r-- | app/helpers/auto_devops_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/auto_devops_helper.rb b/app/helpers/auto_devops_helper.rb index 2a18f227155..e4907f631ef 100644 --- a/app/helpers/auto_devops_helper.rb +++ b/app/helpers/auto_devops_helper.rb @@ -1,8 +1,8 @@ module AutoDevopsHelper def show_auto_devops_callout?(project) show_callout?('auto_devops_settings_dismissed') && - can?(current_user, :admin_pipeline, project) && - !current_application_settings.auto_devops_enabled? && - project.auto_devops&.enabled.nil? + can?(current_user, :admin_pipeline, project) && + !current_application_settings.auto_devops_enabled? && + project.auto_devops&.enabled.nil? end end |