data_privacy_task.rb 587 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/data_privacy_tasks', to: 'data_privacy_tasks#index', via: :get
  4. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#show', via: :get
  5. match api_path + '/data_privacy_tasks', to: 'data_privacy_tasks#create', via: :post
  6. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#update', via: :put
  7. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#destroy', via: :delete
  8. end