2014-08-26 07:54:12 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
|
|
|
# groups
|
2015-01-12 22:13:50 +00:00
|
|
|
match api_path + '/online_notifications', :to => 'online_notifications#index', :via => :get
|
|
|
|
match api_path + '/online_notifications/:id', :to => 'online_notifications#update', :via => :put
|
|
|
|
match api_path + '/online_notifications/markAllAsSeen', :to => 'online_notifications#markAllAsSeen', :via => :post
|
2014-08-26 07:54:12 +00:00
|
|
|
|
|
|
|
end
|