recent_view.rb 309 B

12345678
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. match api_path + '/recent_view', to: 'recent_view#index', via: :get
  5. match api_path + '/recent_view', to: 'recent_view#create', via: :post
  6. end