time_accounting.rb 449 B

12345678
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/time_accounting/log/by_ticket/:year/:month', to: 'time_accountings#by_ticket', via: :get
  4. match api_path + '/time_accounting/log/by_customer/:year/:month', to: 'time_accountings#by_customer', via: :get
  5. match api_path + '/time_accounting/log/by_organization/:year/:month', to: 'time_accountings#by_organization', via: :get
  6. end