upload_cache.rb 398 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # upload cache
  4. match api_path + '/upload_caches/:id', to: 'upload_caches#update', via: :post
  5. match api_path + '/upload_caches/:id', to: 'upload_caches#destroy', via: :delete
  6. match api_path + '/upload_caches/:id/items/:store_id', to: 'upload_caches#remove_item', via: :delete
  7. end