user_overview_sortings.rb 821 B

12345678910111213
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. # user_overview_sortings
  5. match api_path + '/user_overview_sortings', to: 'user/overview_sortings#index', via: :get
  6. match api_path + '/user_overview_sortings/:id', to: 'user/overview_sortings#show', via: :get
  7. match api_path + '/user_overview_sortings', to: 'user/overview_sortings#create', via: :post
  8. match api_path + '/user_overview_sortings/:id', to: 'user/overview_sortings#update', via: :put
  9. match api_path + '/user_overview_sortings/:id', to: 'user/overview_sortings#destroy', via: :delete
  10. match api_path + '/user_overview_sortings_prio', to: 'user/overview_sortings#prio', via: :post
  11. end