Skip to content

Commit

Permalink
fixed typo in #count_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mgutz committed Nov 5, 2010
1 parent e9fb65b commit 03e653e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tagging_extra.rb
Expand Up @@ -41,7 +41,7 @@ def items_with_tag(tag, items=nil)
def count_tags(items=nil)
items = @items if items.nil?
count = Hash.new( 0 )
@items.each do |item|
items.each do |item|
if item[:tags]
item[:tags].each do |tag|
count[ tag ] += 1
Expand Down Expand Up @@ -80,4 +80,4 @@ def rank_tags(n, items=nil)
end
end

include TaggingExtra
include TaggingExtra

0 comments on commit 03e653e

Please sign in to comment.