12345678910 |
- Zammad::Application.routes.draw do
- api_path = Rails.configuration.api_path
- match api_path + '/taskbar', to: 'taskbar#index', via: :get
- match api_path + '/taskbar/:id', to: 'taskbar#show', via: :get
- match api_path + '/taskbar', to: 'taskbar#create', via: :post
- match api_path + '/taskbar/:id', to: 'taskbar#update', via: :put
- match api_path + '/taskbar/:id', to: 'taskbar#destroy', via: :delete
- end
|