Class: Decidim::Meetings::MeetingsMapCell
- Inherits:
-
MeetingLCell
- Object
- CardLCell
- MeetingLCell
- Decidim::Meetings::MeetingsMapCell
- Includes:
- Decidim::MapHelper, MapHelper
- Defined in:
- app/cells/decidim/meetings/meetings_map_cell.rb
Instance Method Summary collapse
Methods included from MapHelper
Methods inherited from MeetingLCell
Instance Method Details
#geocoded_meetings ⇒ Object
17 18 19 |
# File 'app/cells/decidim/meetings/meetings_map_cell.rb', line 17 def geocoded_meetings @geocoded_meetings ||= meetings.select(&:geocoded_and_valid?) end |
#meetings ⇒ Object
21 22 23 |
# File 'app/cells/decidim/meetings/meetings_map_cell.rb', line 21 def meetings model end |
#show ⇒ Object
11 12 13 14 15 |
# File 'app/cells/decidim/meetings/meetings_map_cell.rb', line 11 def show return unless Decidim::Map.available?(:geocoding, :dynamic) render end |