app/controllers/decidim/meetings/calendars_controller.rb in decidim-meetings-0.26.10 vs app/controllers/decidim/meetings/calendars_controller.rb in decidim-meetings-0.27.0.rc1
- old
+ new
@@ -9,10 +9,10 @@
helper_method :meetings
before_action :set_default_request_format
skip_around_action :use_organization_time_zone
def show
- render plain: CalendarRenderer.for(current_component), content_type: "type/calendar"
+ render plain: CalendarRenderer.for(current_component, params[:filter]), content_type: "type/calendar"
end
def meeting_calendar
send_data CalendarRenderer.for(meeting), content_type: "type/calendar", filename: "#{meeting.reference}.ics"
end