Class: Decidim::Votings::VotingMapCell

Inherits:
VotingGCell
  • Object
show all
Includes:
MapHelper, MapHelper
Defined in:
app/cells/decidim/votings/voting_map_cell.rb

Instance Method Summary collapse

Methods included from MapHelper

#polling_station_data_for_map

Instance Method Details

#polling_stationsObject



17
18
19
# File 'app/cells/decidim/votings/voting_map_cell.rb', line 17

def polling_stations
  model
end

#showObject



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