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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-04-19 10:20:53 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-04-19 10:20:53 +0300
commit93780da67ceebac19033bb0c44483e3af2d38a18 (patch)
tree7123498ec227f75c6d00e8dbab111a2fa3a2e64f /lib/gitlab/view
parent6ef8b497e721fac49a0914802244f98dd5d99078 (diff)
Resolve "Show `failure_reason` in jobs view content section"
Diffstat (limited to 'lib/gitlab/view')
-rw-r--r--lib/gitlab/view/presenter/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/view/presenter/base.rb b/lib/gitlab/view/presenter/base.rb
index 841fb681435..36162faa1eb 100644
--- a/lib/gitlab/view/presenter/base.rb
+++ b/lib/gitlab/view/presenter/base.rb
@@ -20,6 +20,10 @@ module Gitlab
subject
end
+ def present(**attributes)
+ self
+ end
+
class_methods do
def presenter?
true