taskbar.rb 486 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/taskbar', :to => 'taskbar#index', :via => :get
  4. match api_path + '/taskbar/:id', :to => 'taskbar#show', :via => :get
  5. match api_path + '/taskbar', :to => 'taskbar#create', :via => :post
  6. match api_path + '/taskbar/:id', :to => 'taskbar#update', :via => :put
  7. match api_path + '/taskbar/:id', :to => 'taskbar#destroy',:via => :delete
  8. end