summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/policies/base_policy.rb2
-rw-r--r--app/policies/project_policy.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/policies/base_policy.rb b/app/policies/base_policy.rb
index cc82793b716..118c100ca11 100644
--- a/app/policies/base_policy.rb
+++ b/app/policies/base_policy.rb
@@ -59,7 +59,7 @@ class BasePolicy
begin
policy_class = "#{klass.name}Policy".constantize
- # NB: the < operator here tests whether policy_class
+ # NOTE: the < operator here tests whether policy_class
# inherits from BasePolicy
return policy_class if policy_class < BasePolicy
rescue NameError
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 0e933d00904..15a9f2f0dca 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -196,7 +196,7 @@ class ProjectPolicy < BasePolicy
can! :read_container_image
can! :download_code
- # NB: may be overridden by IssuePolicy
+ # NOTE: may be overridden by IssuePolicy
can! :read_issue
# Allow to read builds by anonymous user if guests are allowed