summaryrefslogtreecommitdiff
path: root/app/policies/commit_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/commit_policy.rb')
-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