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
|
2014-09-19 21:35:40 +00:00
|
|
|
match api_path + '/search', :to => 'search#search', :via => [:get, :post]
|
|
|
|
|
|
|
|
# search_user_org
|
|
|
|
match api_path + '/search_user_org', :to => 'search#search_user_org', :via => [:get, :post]
|
2013-05-21 22:30:09 +00:00
|
|
|
|
|
|
|
end
|