cirandas.net

ref: master

plugins/relevant_content/lib/relevant_content_plugin.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class RelevantContentPlugin < Noosfero::Plugin

  def self.plugin_name
      "Relevant Content Plugin"
  end

  def self.plugin_description
    _("A plugin that lists the most accessed, most commented, most liked and most disliked contents.")
  end

  def self.extra_blocks
    {
     RelevantContentPlugin::RelevantContentBlock => {}
    }
  end

  def stylesheet?
    true
  end

end