link.rb 390 B

1234567891011
  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. # links
  5. match api_path + '/links', to: 'links#index', via: :get
  6. match api_path + '/links/add', to: 'links#add', via: :post
  7. match api_path + '/links/remove', to: 'links#remove', via: :delete
  8. end