cirandas.net

ref: master

plugins/consumers_coop/models/consumers_coop_plugin/consumers_coop_menu_block.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class ConsumersCoopPlugin::ConsumersCoopMenuBlock < Block

  def self.description
    _('A dinamic menu for Consumers Coops')
  end

  def default_title
    _('Consumers Coop Menu')
  end

  def help
    _('This block generates a menu with default entries and lets the communities to create more as needed')
  end

  def cacheable?
    false
  end

end