config/initializers/ics_renderer.rb in calagator2-2.0.0 vs config/initializers/ics_renderer.rb in calagator2-2.1.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true # Export +events+ to an iCalendar file. ActionController::Renderers.add(:ics) do |events, _options| render plain: Calagator::Event::IcalRenderer.render(events, url_helper: ->(event) { event_url(event) }), - content_type: 'text/calendar' + content_type: "text/calendar" end