ldap_source.rb 722 B

123456789101112
  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 + '/ldap_sources', to: 'ldap_sources#index', via: :get
  5. match api_path + '/ldap_sources/:id', to: 'ldap_sources#show', via: :get
  6. match api_path + '/ldap_sources', to: 'ldap_sources#create', via: :post
  7. match api_path + '/ldap_sources/:id', to: 'ldap_sources#update', via: :put
  8. match api_path + '/ldap_sources/:id', to: 'ldap_sources#destroy', via: :delete
  9. match api_path + '/ldap_sources_prio', to: 'ldap_sources#prio', via: :post
  10. end