Sha256: e372efc6e9d7ca2742fb80fb6859c01e6ac86c18ca95dac85da9a0cbffdfdeaf
Contents?: true
Size: 488 Bytes
Versions: 25
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings class CalendarRenderer def self.for(resource, filters = nil) case resource when Decidim::Organization Calendar::OrganizationCalendar.for(resource, filters) when Decidim::Component Calendar::ComponentCalendar.for(resource, filters) when Decidim::Meetings::Meeting Calendar::MeetingCalendar.for(resource, filters) end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems