trabajo-afectivo/config/routes/user_devices.rb

11 lines
341 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://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