Class: Decidim::Meetings::Directory::MeetingsController

Inherits:
ApplicationController show all
Includes:
Filterable, FilterResource, Paginable
Defined in:
app/controllers/decidim/meetings/directory/meetings_controller.rb

Overview

Exposes the meeting resource so users can view them

Instance Method Summary collapse

Instance Method Details

#calendarObject



22
23
24
# File 'app/controllers/decidim/meetings/directory/meetings_controller.rb', line 22

def calendar
  render plain: CalendarRenderer.for(current_organization, params[:filter]), content_type: "type/calendar"
end