2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2019-06-04 03:40:48 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
scope Rails.configuration.api_path do
|
|
|
|
resources :attachments, only: %i[show destroy create] do
|
|
|
|
collection do
|
|
|
|
delete 'destroy_form/:form_id', action: :destroy_form
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|