summaryrefslogtreecommitdiff
path: root/app/models/badges
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-08-03 00:15:25 -0700
committergfyoung <gfyoung17@gmail.com>2018-08-03 01:44:16 -0700
commit388cb319d59e4c5e7cf5b3032d924afb57202fd0 (patch)
tree671b6ba52a90837f0b71fba9a16f8f8003b85989 /app/models/badges
parent5b663ddf4c0da4f8f2aa0a48809cda9757042e64 (diff)
downloadgitlab-ce-388cb319d59e4c5e7cf5b3032d924afb57202fd0.tar.gz
Enable frozen string for app/models/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models-more
Partially addresses #47424.
Diffstat (limited to 'app/models/badges')
-rw-r--r--app/models/badges/group_badge.rb2
-rw-r--r--app/models/badges/project_badge.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/models/badges/group_badge.rb b/app/models/badges/group_badge.rb
index f4b2bdecdcc..c0712f452df 100644
--- a/app/models/badges/group_badge.rb
+++ b/app/models/badges/group_badge.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class GroupBadge < Badge
belongs_to :group
diff --git a/app/models/badges/project_badge.rb b/app/models/badges/project_badge.rb
index 3945b376052..59638df6fad 100644
--- a/app/models/badges/project_badge.rb
+++ b/app/models/badges/project_badge.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class ProjectBadge < Badge
belongs_to :project