user_access_token.rb 371 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # access token
  4. match api_path + '/user_access_token', to: 'user_access_token#index', via: :get
  5. match api_path + '/user_access_token', to: 'user_access_token#create', via: :post
  6. match api_path + '/user_access_token/:id', to: 'user_access_token#destroy', via: :delete
  7. end