mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 10:14:59 +00:00
Heartbeat API with device token authentication
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
Rails.application.routes.draw do
|
||||
devise_for :admin_users, ActiveAdmin::Devise.config
|
||||
|
||||
post 'heartbeats', to: 'heartbeats#create', :defaults => { :format => :json }
|
||||
|
||||
ActiveAdmin.routes(self)
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
Reference in New Issue
Block a user