Class: Decidim::Votings::VotingMapCell
- Inherits:
-
VotingGCell
- Object
- CardGCell
- VotingGCell
- Decidim::Votings::VotingMapCell
- Includes:
- MapHelper, MapHelper
- Defined in:
- app/cells/decidim/votings/voting_map_cell.rb
Instance Method Summary collapse
Methods included from MapHelper
Instance Method Details
#polling_stations ⇒ Object
17 18 19 |
# File 'app/cells/decidim/votings/voting_map_cell.rb', line 17 def polling_stations model end |
#show ⇒ Object
11 12 13 14 15 |
# File 'app/cells/decidim/votings/voting_map_cell.rb', line 11 def show return unless Decidim::Map.available?(:geocoding, :dynamic) render end |