From ad1e960e718911e37fbfd31f294f4957ca3fb92a Mon Sep 17 00:00:00 2001 From: Zin Bo Thit Date: Mon, 3 Aug 2026 15:36:38 +0630 Subject: [PATCH] Fix gateway SMS API routes --- config/routes.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index c4b3fd6..e6d12d7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,10 +13,8 @@ Rails.application.routes.draw do post "register", to: "registrations#create" post "heartbeat", to: "heartbeats#create" - namespace :sms do - post "received", to: "sms#received" - post "status", to: "sms#status" - end + post "sms/received", to: "sms#received" + post "sms/status", to: "sms#status" end # Client application endpoints