microsoft365.rb 973 B

123456789101112
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/channels_microsoft365', to: 'channels_microsoft365#index', via: :get
  4. match api_path + '/channels_microsoft365_disable', to: 'channels_microsoft365#disable', via: :post
  5. match api_path + '/channels_microsoft365_enable', to: 'channels_microsoft365#enable', via: :post
  6. match api_path + '/channels_microsoft365', to: 'channels_microsoft365#destroy', via: :delete
  7. match api_path + '/channels_microsoft365_group/:id', to: 'channels_microsoft365#group', via: :post
  8. match api_path + '/channels_microsoft365_inbound/:id', to: 'channels_microsoft365#inbound', via: :post
  9. match api_path + '/channels_microsoft365_rollback_migration', to: 'channels_microsoft365#rollback_migration', via: :post
  10. end