trabajo-afectivo/config/routes/recent_view.rb

6 lines
231 B
Ruby
Raw Normal View History

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