http_log.rb 354 B

12345678
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/http_logs', to: 'http_logs#index', via: :get
  4. match api_path + '/http_logs/:facility', to: 'http_logs#index', via: :get, constraints: { facility: /.*/ }
  5. match api_path + '/http_logs', to: 'http_logs#create', via: :post
  6. end