Fixes #2820 by disambiguating which Person class we want
This commit is contained in:
parent
a819f38b99
commit
6e9d5f013a
1 changed files with 2 additions and 2 deletions
|
|
@ -24,11 +24,11 @@ class Stream::Tag < Stream::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def tagged_people
|
def tagged_people
|
||||||
@people ||= Person.profile_tagged_with(tag_name).paginate(:page => people_page, :per_page => 15)
|
@people ||= ::Person.profile_tagged_with(tag_name).paginate(:page => people_page, :per_page => 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
def tagged_people_count
|
def tagged_people_count
|
||||||
@people_count ||= Person.profile_tagged_with(tag_name).count
|
@people_count ||= ::Person.profile_tagged_with(tag_name).count
|
||||||
end
|
end
|
||||||
|
|
||||||
def posts
|
def posts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue