summaryrefslogtreecommitdiff
path: root/lib/gitlab/badge/template.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/badge/template.rb')
-rw-r--r--lib/gitlab/badge/template.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/badge/template.rb b/lib/gitlab/badge/template.rb
index ed2ec50b197..97103e3f42c 100644
--- a/lib/gitlab/badge/template.rb
+++ b/lib/gitlab/badge/template.rb
@@ -6,6 +6,8 @@ module Gitlab
# Abstract template class for badges
#
class Template
+ MAX_KEY_SIZE = 128
+
def initialize(badge)
@entity = badge.entity
@status = badge.status