attachments.rb 323 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. scope Rails.configuration.api_path do
  4. resources :attachments, only: %i[show destroy create] do
  5. collection do
  6. delete 'destroy_form/:form_id', action: :destroy_form
  7. end
  8. end
  9. end
  10. end