link.rb 309 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # links
  4. match api_path + '/links', to: 'links#index', via: :get
  5. match api_path + '/links/add', to: 'links#add', via: :get
  6. match api_path + '/links/remove', to: 'links#remove', via: :get
  7. end