gitlab-org--gitlab-foss/app/helpers/suggest_pipeline_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
167 B
Ruby
Raw Normal View History

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