object_manager_attribute.rb 788 B

123456789101112
  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. end