import_zendesk.rb 533 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # import zendesk
  4. match api_path + '/import/zendesk/url_check', to: 'import_zendesk#url_check', via: :post
  5. match api_path + '/import/zendesk/credentials_check', to: 'import_zendesk#credentials_check', via: :post
  6. match api_path + '/import/zendesk/import_start', to: 'import_zendesk#import_start', via: :post
  7. match api_path + '/import/zendesk/import_status', to: 'import_zendesk#import_status', via: :get
  8. end