Commit bc0a513f authored by http://jneen.net/'s avatar http://jneen.net/

s/NB:/NOTE:/

parent 78eabebe
...@@ -59,7 +59,7 @@ class BasePolicy ...@@ -59,7 +59,7 @@ class BasePolicy
begin begin
policy_class = "#{klass.name}Policy".constantize 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 # inherits from BasePolicy
return policy_class if policy_class < BasePolicy return policy_class if policy_class < BasePolicy
rescue NameError rescue NameError
......
...@@ -196,7 +196,7 @@ class ProjectPolicy < BasePolicy ...@@ -196,7 +196,7 @@ class ProjectPolicy < BasePolicy
can! :read_container_image can! :read_container_image
can! :download_code can! :download_code
# NB: may be overridden by IssuePolicy # NOTE: may be overridden by IssuePolicy
can! :read_issue can! :read_issue
# Allow to read builds by anonymous user if guests are allowed # Allow to read builds by anonymous user if guests are allowed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment