online_notification.rb 683 B

1234567891011
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # groups
  4. match api_path + '/online_notifications', to: 'online_notifications#index', via: :get
  5. match api_path + '/online_notifications/:id', to: 'online_notifications#show', via: :get
  6. match api_path + '/online_notifications/:id', to: 'online_notifications#update', via: :put
  7. match api_path + '/online_notifications/:id', to: 'online_notifications#destroy', via: :delete
  8. match api_path + '/online_notifications/mark_all_as_read', to: 'online_notifications#mark_all_as_read', via: :post
  9. end