Class: Decidim::Meetings::CalendarsController
- Inherits:
-
ApplicationController
- Object
- Components::BaseController
- ApplicationController
- Decidim::Meetings::CalendarsController
- Defined in:
- app/controllers/decidim/meetings/calendars_controller.rb
Overview
Exposes the meeting resources as an .ics file so users can import them to their favorite calendar app
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
13 14 15 |
# File 'app/controllers/decidim/meetings/calendars_controller.rb', line 13 def show render plain: CalendarRenderer.for(current_component), content_type: "type/calendar" end |