search.rb 267 B

1234567
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # search
  4. match api_path + '/search', to: 'search#search_generic', via: %i[get post]
  5. match api_path + '/search/:objects', to: 'search#search_generic', via: %i[get post]
  6. end