trabajo-afectivo/config/routes/search.rb

10 lines
343 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
2013-08-21 19:16:42 +00:00
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
2013-05-21 22:30:09 +00:00
2013-08-21 19:16:42 +00:00
# search
2017-11-23 08:09:44 +00:00
match api_path + '/search', to: 'search#search_generic', via: %i[get post]
match api_path + '/search/:objects', to: 'search#search_generic', via: %i[get post]
end