search.rb 295 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # search
  4. match api_path + '/search', :to => 'search#search', :via => [:get, :post]
  5. # search_user_org
  6. match api_path + '/search_user_org', :to => 'search#search_user_org', :via => [:get, :post]
  7. end