petities/petitions.eu

View on GitHub
app/views/petitions/_list.html.slim

Summary

Maintainability
Test Coverage
- @petitions.each do |petition|
  div.petition-overview
    - cache [petition, petition.get_count, I18n.locale] do
      = render partial: 'petitions/list_item', locals: {petition: petition}