postmaster_filter.rb 580 B

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