upload_cache.rb 475 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. # upload cache
  5. match api_path + '/upload_caches/:id', to: 'upload_caches#update', via: :post
  6. match api_path + '/upload_caches/:id', to: 'upload_caches#destroy', via: :delete
  7. match api_path + '/upload_caches/:id/items/:store_id', to: 'upload_caches#remove_item', via: :delete
  8. end