summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorPeter Leitzen <pl@neopoly.de>2018-08-10 18:15:25 +0200
committerPeter Leitzen <pl@neopoly.de>2018-08-10 18:15:25 +0200
commit7fe85c1d42e89e91e619dcbe9ac945a9223ec72b (patch)
tree2bd67ca97c4415c4ff574ff759102f49ecd7fa77 /app/policies
parentea9c7bee4b167e85e192cc40720d2c4cc07540ab (diff)
downloadgitlab-ce-7fe85c1d42e89e91e619dcbe9ac945a9223ec72b.tar.gz
Freeze string literals
See Danger's suggestions: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6869#note_93730253
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/commit_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/commit_policy.rb b/app/policies/commit_policy.rb
index 44063181241..67e9bc12804 100644
--- a/app/policies/commit_policy.rb
+++ b/app/policies/commit_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class CommitPolicy < BasePolicy
delegate { @subject.project }
end