trabajo-afectivo/config/routes/attachments.rb
2022-01-01 14:38:12 +01:00

11 lines
323 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
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