trabajo-afectivo/config/routes/search.rb

8 lines
269 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
match api_path + '/search', to: 'search#search_generic', via: [:get, :post]
match api_path + '/search/:objects', to: 'search#search_generic', via: [:get, :post]
end