mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 02:04:57 +00:00
Change the app_usages API to accept array of data
- Add foreignkey to device for AppUsage - Rename the route to app_usage from app_usage/create
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Rails.application.routes.draw do
|
||||
post 'app_usages/create', to: 'app_usages#create', :defaults => { :format => :json }
|
||||
post 'app_usages', to: 'app_usages#create', :defaults => { :format => :json }
|
||||
|
||||
devise_for :admin_users, ActiveAdmin::Devise.config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user