trabajo-afectivo/config/routes/attachments.rb

12 lines
322 B
Ruby
Raw Normal View History

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