Commit 8a9d6bad2525edcaf4954f890300a6f9c903f9c7
Committed by
Luciano Prestes
1 parent
a7a813a6
Exists in
master
and in
5 other branches
Fix communities block count
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
lib/ext/communities_block.rb
@@ -26,4 +26,8 @@ class CommunitiesBlock | @@ -26,4 +26,8 @@ class CommunitiesBlock | ||
26 | result.slice(0..get_limit-1) | 26 | result.slice(0..get_limit-1) |
27 | end | 27 | end |
28 | 28 | ||
29 | + def profile_count | ||
30 | + profile_list.count | ||
31 | + end | ||
32 | + | ||
29 | end | 33 | end |
30 | \ No newline at end of file | 34 | \ No newline at end of file |