Commit 4fbaaa68694fd85d0f63f8f41a0cf420690ee1be
1 parent
59520e8c
Exists in
master
and in
22 other branches
should load load community templates correctly
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/statistics/lib/statistics_block.rb
@@ -61,7 +61,7 @@ class StatisticsBlock < Block | @@ -61,7 +61,7 @@ class StatisticsBlock < Block | ||
61 | end | 61 | end |
62 | 62 | ||
63 | def templates | 63 | def templates |
64 | - Community.templates(environment) | 64 | + self.environment.community_templates |
65 | end | 65 | end |
66 | 66 | ||
67 | def is_template_counter_active? template_id | 67 | def is_template_counter_active? template_id |