google.rb 966 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. match api_path + '/channels_google', to: 'channels_google#index', via: :get
  5. match api_path + '/channels_google_disable', to: 'channels_google#disable', via: :post
  6. match api_path + '/channels_google_enable', to: 'channels_google#enable', via: :post
  7. match api_path + '/channels_google', to: 'channels_google#destroy', via: :delete
  8. match api_path + '/channels_google_group/:id', to: 'channels_google#group', via: :post
  9. match api_path + '/channels_google_inbound/:id', to: 'channels_google#inbound', via: :post
  10. match api_path + '/channels_google_rollback_migration', to: 'channels_google#rollback_migration', via: :post
  11. end