object_manager_attribute.rb 1.0 KB

1234567891011121314
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # object_manager
  4. match api_path + '/object_manager_attributes_list', to: 'object_manager_attributes#list', via: :get
  5. match api_path + '/object_manager_attributes', to: 'object_manager_attributes#index', via: :get
  6. match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#show', via: :get
  7. match api_path + '/object_manager_attributes', to: 'object_manager_attributes#create', via: :post
  8. match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#update', via: :put
  9. match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#destroy', via: :delete
  10. match api_path + '/object_manager_attributes_discard_changes', to: 'object_manager_attributes#discard_changes', via: :post
  11. match api_path + '/object_manager_attributes_execute_migrations', to: 'object_manager_attributes#execute_migrations', via: :post
  12. end