summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/checks_collaboration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/checks_collaboration.rb')
-rw-r--r--app/controllers/concerns/checks_collaboration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/checks_collaboration.rb b/app/controllers/concerns/checks_collaboration.rb
index 81367663a06..1fa82f7dcd4 100644
--- a/app/controllers/concerns/checks_collaboration.rb
+++ b/app/controllers/concerns/checks_collaboration.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ChecksCollaboration
def can_collaborate_with_project?(project, ref: nil)
return true if can?(current_user, :push_code, project)