integration_github.rb 490 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/integration/github', to: 'integration/github#query', via: :post
  4. match api_path + '/integration/github', to: 'integration/github#query', via: :get
  5. match api_path + '/integration/github/verify', to: 'integration/github#verify', via: :post
  6. match api_path + '/integration/github_ticket_update', to: 'integration/github#update', via: :post
  7. end