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