From 7fe85c1d42e89e91e619dcbe9ac945a9223ec72b Mon Sep 17 00:00:00 2001 From: Peter Leitzen Date: Fri, 10 Aug 2018 18:15:25 +0200 Subject: Freeze string literals See Danger's suggestions: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6869#note_93730253 --- app/policies/commit_policy.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/policies/commit_policy.rb') 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 -- cgit v1.2.1