email_address.rb 494 B

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