Skip to content

Commit

Permalink
show user item count in byline
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Oct 24, 2009
1 parent 3c3d0d6 commit 2bc69cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/items_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def can_edit?(item)
def user_link(item)
if item.user
options = item.user.approved_for_feed == 1 ? {} : {:rel => 'nofollow'}
link_to(item.user.login, item.user.url, options)
link_to(item.user.login, item.user.url, options) + " (#{item.user.items.count})"
else
item.byline
end
Expand Down

0 comments on commit 2bc69cb

Please sign in to comment.