trabajo-afectivo/config/routes/search.rb

8 lines
267 B
Ruby
Raw Normal View History

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