Fix OTP API routes

This commit is contained in:
Zin Bo Thit
2026-08-03 14:37:51 +06:30
parent b2e595804b
commit ce49a72e01

View File

@@ -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