summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-08-30 15:55:28 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-08-30 15:55:28 -0700
commitbc0a513f624f8e06839b4c3baa5fe10f71284ef2 (patch)
tree816ce01e2e55c2f261bc4a6f321d9dd4c63da6e3
parent78eabebedc2cb849dd95e5e7e9dff9f1d24f5ebe (diff)
downloadgitlab-ce-bc0a513f624f8e06839b4c3baa5fe10f71284ef2.tar.gz
s/NB:/NOTE:/
-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