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

use || in place of `or`

parent d7bd2009
...@@ -153,7 +153,7 @@ class ProjectPolicy < BasePolicy ...@@ -153,7 +153,7 @@ class ProjectPolicy < BasePolicy
cannot!(*named_abilities(:merge_request)) cannot!(*named_abilities(:merge_request))
end end
unless project.issues_enabled or project.merge_requests_enabled unless project.issues_enabled || project.merge_requests_enabled
cannot!(*named_abilities(:label)) cannot!(*named_abilities(:label))
cannot!(*named_abilities(:milestone)) cannot!(*named_abilities(:milestone))
end end
......
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