user_devices.rb 265 B

12345678
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # jobs
  4. match api_path + '/user_devices', to: 'user_devices#index', via: :get
  5. match api_path + '/user_devices/:id', to: 'user_devices#destroy', via: :delete
  6. end