Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common.rb « pipeline « status « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61bb07beb0fd6cff23f87a2619712e68976b2cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Gitlab
  module Ci
    module Status
      module Pipeline
        module Common
          def has_details?
            can?(user, :read_pipeline, subject)
          end

          def details_path
            project_pipeline_path(subject.project, subject)
          end

          def has_action?
            false
          end
        end
      end
    end
  end
end