trabajo-afectivo/config/routes/recent_view.rb

9 lines
308 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
match api_path + '/recent_view', to: 'recent_view#index', via: :get
match api_path + '/recent_view', to: 'recent_view#create', via: :post
end