calendar_subscriptions.rb 764 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. # shorter version
  4. match '/ical', to: 'calendar_subscriptions#all', via: %i[get propfind]
  5. match '/ical/:object', to: 'calendar_subscriptions#object', via: %i[get propfind]
  6. match '/ical/:object/:method', to: 'calendar_subscriptions#object', via: %i[get propfind]
  7. # wording version
  8. match '/calendar_subscriptions', to: 'calendar_subscriptions#all', via: %i[get propfind]
  9. match '/calendar_subscriptions/:object', to: 'calendar_subscriptions#object', via: %i[get propfind]
  10. match '/calendar_subscriptions/:object/:method', to: 'calendar_subscriptions#object', via: %i[get propfind]
  11. end