debian-mirror-gitlab/app/helpers/suggest_pipeline_helper.rb
2021-02-22 17:27:13 +05:30

7 lines
167 B
Ruby

# frozen_string_literal: true
module SuggestPipelineHelper
def should_suggest_gitlab_ci_yml?
current_user && params[:suggest_gitlab_ci_yml] == 'true'
end
end