summaryrefslogtreecommitdiff
path: root/app/policies/project_member_policy.rb
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-07-24 03:00:56 -0700
committergfyoung <gfyoung17@gmail.com>2018-07-24 13:18:25 -0700
commitd5bf57a6afe1ed9ba419a34b352020a44960b48d (patch)
treeb2b77911cf0e18f4cb1b3c1cfac38c7000f69eb0 /app/policies/project_member_policy.rb
parentf5b45519dba89296cbd6f350f5c29b655d5aef8d (diff)
downloadgitlab-ce-d5bf57a6afe1ed9ba419a34b352020a44960b48d.tar.gz
Enable frozen string in presenters and policiesrepo-forks/gitlab-ce-frozen-string-enable-app-presenters
Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
Diffstat (limited to 'app/policies/project_member_policy.rb')
-rw-r--r--app/policies/project_member_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/project_member_policy.rb b/app/policies/project_member_policy.rb
index 9aedb620be9..f2f18406bd3 100644
--- a/app/policies/project_member_policy.rb
+++ b/app/policies/project_member_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class ProjectMemberPolicy < BasePolicy
delegate { @subject.project }