channel_email.rb 1.1 KB

123456789101112131415
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/channels_email', to: 'channels_email#index', via: :get
  4. match api_path + '/channels_email_probe', to: 'channels_email#probe', via: :post
  5. match api_path + '/channels_email_outbound', to: 'channels_email#outbound', via: :post
  6. match api_path + '/channels_email_inbound', to: 'channels_email#inbound', via: :post
  7. match api_path + '/channels_email_verify', to: 'channels_email#verify', via: :post
  8. match api_path + '/channels_email_notification', to: 'channels_email#notification', via: :post
  9. match api_path + '/channels_email_disable', to: 'channels_email#disable', via: :post
  10. match api_path + '/channels_email_enable', to: 'channels_email#enable', via: :post
  11. match api_path + '/channels_email', to: 'channels_email#destroy', via: :delete
  12. match api_path + '/channels_email_group/:id', to: 'channels_email#group', via: :post
  13. end