summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage/docs/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/usage/docs/helper.rb')
-rw-r--r--lib/gitlab/usage/docs/helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/usage/docs/helper.rb b/lib/gitlab/usage/docs/helper.rb
index c2e5d467dbb..bfe674b945e 100644
--- a/lib/gitlab/usage/docs/helper.rb
+++ b/lib/gitlab/usage/docs/helper.rb
@@ -51,6 +51,10 @@ module Gitlab
"Tiers:#{format(:tier, object[:tier])}"
end
+ def render_data_category(object)
+ "Data Category: `#{object[:data_category]}`"
+ end
+
def format(key, value)
Gitlab::Usage::Docs::ValueFormatter.format(key, value)
end