Software Público Brasileiro
Portal do

Software Público Brasileiro

  • Cadastre-se
  • Entrar
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 61
  • Merge Requests 0
  • Wiki
  • noosfero
  • plugins
  • organization_ratings
  • lib
  • organization_ratings_block.rb
  • 66eabb2c   Remove OrganizationRatings#content ... Browse Code »
    This method is no longer necessary (and violates MVC) with the new
    structure at BoxesHelper being enough for such job.
    
    The view just required a rename to get into the standards.
    Rafael Reggiani Manzo
    2016-04-30 09:25:27 -0300  
organization_ratings_block.rb 316 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
class OrganizationRatingsBlock < Block
  include RatingsHelper

  def self.description
    _('Organization Ratings')
  end

  def help
    _('This block displays the organization ratings.')
  end

  def limit_number_of_ratings
    env_organization_ratings_config.per_page
  end

  def cacheable?
    false
  end
end
Voltar para o topo
Assuntos
Publique seu software
Prestadores de serviço
Espaços dos municípios
Software Público
Entenda o que é
Eventos
Prêmios
Publicações
Serviços
FAQ
Contato
Relatar erros
RSS
O que é?
Assine
Navegação
Acessibilidade
Mapa do site

Desenvolvido com os projetos de software livre Colab, Gitlab, Mailman e Noosfero