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

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

Overview

Exposes the meeting resource so users can view them

Constant Summary

Constants included from Paginable

Paginable::OPTIONS

Constants included from RedesignLayout

RedesignLayout::FALLBACK_LAYOUT

Instance Method Summary collapse

Methods included from UserBlockedChecker

#check_user_block_status, #check_user_not_blocked

Methods included from NeedsSnippets

#snippets

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from HasStoredPath

#skip_store_location?, #store_current_location

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#calendarObject


22
23
24
# File 'decidim-meetings/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