summaryrefslogtreecommitdiff
path: root/app/policies/environment_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/environment_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/environment_policy.rb')
-rw-r--r--app/policies/environment_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/environment_policy.rb b/app/policies/environment_policy.rb
index 2d07311db72..d1243491f5a 100644
--- a/app/policies/environment_policy.rb
+++ b/app/policies/environment_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class EnvironmentPolicy < BasePolicy
delegate { @subject.project }