trabajo-afectivo/config/routes/import_zendesk.rb

13 lines
610 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
2016-01-18 19:32:34 +00:00
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
# import zendesk
match api_path + '/import/zendesk/url_check', to: 'import_zendesk#url_check', via: :post
match api_path + '/import/zendesk/credentials_check', to: 'import_zendesk#credentials_check', via: :post
match api_path + '/import/zendesk/import_start', to: 'import_zendesk#import_start', via: :post
match api_path + '/import/zendesk/import_status', to: 'import_zendesk#import_status', via: :get
end