diff options
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r-- | app/models/namespace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb index 4a6627d3ca1..11b03846f0b 100644 --- a/app/models/namespace.rb +++ b/app/models/namespace.rb @@ -190,7 +190,7 @@ class Namespace < ActiveRecord::Base .base_and_ancestors end - # returns all ancestors upto but excluding the the given namespace + # returns all ancestors upto but excluding the given namespace # when no namespace is given, all ancestors upto the top are returned def ancestors_upto(top = nil) Gitlab::GroupHierarchy.new(self.class.where(id: id)) |