integration_github.rb 567 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. match api_path + '/integration/github', to: 'integration/github#query', via: :post
  5. match api_path + '/integration/github', to: 'integration/github#query', via: :get
  6. match api_path + '/integration/github/verify', to: 'integration/github#verify', via: :post
  7. match api_path + '/integration/github_ticket_update', to: 'integration/github#update', via: :post
  8. end