recent_view.rb 232 B

123456
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/recent_view', to: 'recent_view#index', via: :get
  4. match api_path + '/recent_view', to: 'recent_view#create', via: :post
  5. end