trabajo-afectivo/config/routes/user_devices.rb

11 lines
342 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
2015-08-17 13:25:41 +00:00
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
# jobs
match api_path + '/user_devices', to: 'user_devices#index', via: :get
match api_path + '/user_devices/:id', to: 'user_devices#destroy', via: :delete
end