Commit 4fbaaa68694fd85d0f63f8f41a0cf420690ee1be

Authored by Leandro Santos
1 parent 59520e8c

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 61 end
62 62  
63 63 def templates
64   - Community.templates(environment)
  64 + self.environment.community_templates
65 65 end
66 66  
67 67 def is_template_counter_active? template_id
... ...