trabajo-afectivo/config/routes/object_manager_attribute.rb

13 lines
753 B
Ruby
Raw Normal View History

2014-11-02 19:44:15 +00:00
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
# object_manager
match api_path + '/object_manager_attributes_list', to: 'object_manager_attributes#list', via: :get
match api_path + '/object_manager_attributes', to: 'object_manager_attributes#index', via: :get
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#show', via: :get
match api_path + '/object_manager_attributes', to: 'object_manager_attributes#create', via: :post
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#update', via: :put
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#destroy', via: :delete
2014-11-02 19:44:15 +00:00
end