debian-mirror-gitlab/lib/gitlab/ci/status/build/common.rb
2017-09-10 17:25:29 +05:30

17 lines
308 B
Ruby

module Gitlab
module Ci
module Status
module Build
module Common
def has_details?
can?(user, :read_build, subject)
end
def details_path
project_job_path(subject.project, subject)
end
end
end
end
end
end