channel_facebook.rb 568 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/channels_facebook', to: 'channels_facebook#index', via: :get
  4. match api_path + '/channels_facebook/:id', to: 'channels_facebook#update', via: :post
  5. match api_path + '/channels_facebook_disable', to: 'channels_facebook#disable', via: :post
  6. match api_path + '/channels_facebook_enable', to: 'channels_facebook#enable', via: :post
  7. match api_path + '/channels_facebook', to: 'channels_facebook#destroy', via: :delete
  8. end