diff options
author | Peter Leitzen <pl@neopoly.de> | 2018-08-10 18:15:25 +0200 |
---|---|---|
committer | Peter Leitzen <pl@neopoly.de> | 2018-08-10 18:15:25 +0200 |
commit | 7fe85c1d42e89e91e619dcbe9ac945a9223ec72b (patch) | |
tree | 2bd67ca97c4415c4ff574ff759102f49ecd7fa77 /app/policies/commit_policy.rb | |
parent | ea9c7bee4b167e85e192cc40720d2c4cc07540ab (diff) | |
download | gitlab-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/commit_policy.rb')
-rw-r--r-- | app/policies/commit_policy.rb | 2 |
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 |