diff --git a/app/models/tag.rb b/app/models/tag.rb index 552993b681..df1937fe4b 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -116,9 +116,9 @@ def self.find_nodes_by_type(tagnames, type = 'note', limit = 10) .order(order) end - # just like find_nodes_by_type, but searches wiki pages, places, and tools + # just like find_nodes_by_type, but searches wiki pages def self.find_pages(tagnames, limit = 10) - find_nodes_by_type(tagnames, %w(page place tool), limit) + find_nodes_by_type(tagnames, %w(page), limit) end def self.find_nodes_by_type_with_all_tags(tagnames, type = 'note', limit = 10)