cirandas.net

ref: master

plugins/statistics/lib/statistics_plugin.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
require_dependency File.dirname(__FILE__) + '/statistics_block'

class StatisticsPlugin < Noosfero::Plugin

  def self.plugin_name
    "Statistics Plugin"
  end

  def self.plugin_description
    _("A plugin that adds a block where you can see statistics of it's context.")
  end

  def self.extra_blocks
    {
      StatisticsBlock => {}
    }
  end

end