external_data_source.rb 380 B

12345678
  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 + '/external_data_source/:object/:attribute', to: 'external_data_source#fetch', via: :get
  5. match api_path + '/external_data_source/preview', to: 'external_data_source#preview', via: :post
  6. end