10 lines
398 B
Ruby
10 lines
398 B
Ruby
|
Zammad::Application.routes.draw do
|
||
|
api_path = Rails.configuration.api_path
|
||
|
|
||
|
# upload cache
|
||
|
match api_path + '/upload_caches/:id', to: 'upload_caches#update', via: :post
|
||
|
match api_path + '/upload_caches/:id', to: 'upload_caches#destroy', via: :delete
|
||
|
match api_path + '/upload_caches/:id/items/:store_id', to: 'upload_caches#remove_item', via: :delete
|
||
|
|
||
|
end
|