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