Fix gateway SMS API routes
This commit is contained in:
@@ -13,10 +13,8 @@ Rails.application.routes.draw do
|
|||||||
post "register", to: "registrations#create"
|
post "register", to: "registrations#create"
|
||||||
post "heartbeat", to: "heartbeats#create"
|
post "heartbeat", to: "heartbeats#create"
|
||||||
|
|
||||||
namespace :sms do
|
post "sms/received", to: "sms#received"
|
||||||
post "received", to: "sms#received"
|
post "sms/status", to: "sms#status"
|
||||||
post "status", to: "sms#status"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Client application endpoints
|
# Client application endpoints
|
||||||
|
|||||||
Reference in New Issue
Block a user