attachments.rb 246 B

123456789
  1. Zammad::Application.routes.draw do
  2. scope Rails.configuration.api_path do
  3. resources :attachments, only: %i[show destroy create] do
  4. collection do
  5. delete 'destroy_form/:form_id', action: :destroy_form
  6. end
  7. end
  8. end
  9. end