diff --git a/config/routes.rb b/config/routes.rb index 5347c9c..cf4593d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -25,10 +25,8 @@ Rails.application.routes.draw do get "sms/received", to: "sms#received" # OTP endpoints - namespace :otp do - post "send", to: "otp#send_otp" - post "verify", to: "otp#verify" - end + post "otp/send", to: "otp#send_otp" + post "otp/verify", to: "otp#verify" # Admin endpoints namespace :admin do