calendar_subscriptions.rb 615 B

123456789101112
  1. Zammad::Application.routes.draw do
  2. # shorter version
  3. match '/ical', to: 'calendar_subscriptions#all', via: :get
  4. match '/ical/:object', to: 'calendar_subscriptions#object', via: :get
  5. match '/ical/:object/:method', to: 'calendar_subscriptions#object', via: :get
  6. # wording version
  7. match '/calendar_subscriptions', to: 'calendar_subscriptions#all', via: :get
  8. match '/calendar_subscriptions/:object', to: 'calendar_subscriptions#object', via: :get
  9. match '/calendar_subscriptions/:object/:method', to: 'calendar_subscriptions#object', via: :get
  10. end