Sha256: 8c4286e5ce7b731537aebd77943e19f0dd0050c92c54bcdf5eacb083c8d301b1
Contents?: true
Size: 713 Bytes
Versions: 7
Compression:
Stored size: 713 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings module ContentBlocks class PollingStationsCell < Decidim::ViewModel include Decidim::MapHelper include Decidim::SanitizeHelper include Decidim::LayoutHelper include Decidim::IconHelper include Decidim::NeedsSnippets delegate :current_participatory_space, :snippets, to: :controller def show return if current_participatory_space.online_voting? render end private def polling_stations @polling_stations ||= current_participatory_space.polling_stations end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems