Class: Decidim::Meetings::OnlineMeetingCell

Inherits:
ViewModel
  • Object
show all
Defined in:
app/cells/decidim/meetings/online_meeting_cell.rb

Overview

This cell defines methods required for other cells to render online meeting urls

Direct Known Subclasses

MeetingUrlCell, OnlineMeetingLinkCell

Instance Method Summary collapse

Instance Method Details

#showObject



10
11
12
13
14
15
16
17
# File 'app/cells/decidim/meetings/online_meeting_cell.rb', line 10

def show
  return if model.iframe_embed_type_none?
  return unless model.iframe_access_level_allowed_for_user?(current_user)
  return unless assembly_privacy_allowed?
  return unless live? || future?

  render
end