channel_facebook.rb 645 B

1234567891011
  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_facebook', to: 'channels_facebook#index', via: :get
  5. match api_path + '/channels_facebook/:id', to: 'channels_facebook#update', via: :post
  6. match api_path + '/channels_facebook_disable', to: 'channels_facebook#disable', via: :post
  7. match api_path + '/channels_facebook_enable', to: 'channels_facebook#enable', via: :post
  8. match api_path + '/channels_facebook', to: 'channels_facebook#destroy', via: :delete
  9. end