From 798162ae4f55fc2211e903ccd32a902680ec5f17 Mon Sep 17 00:00:00 2001 From: Min Zeya Phyo Date: Sat, 1 Aug 2026 00:27:32 +0800 Subject: [PATCH] welcome page and documentatino --- config/routes.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 5347c9c..e758f6c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -72,6 +72,7 @@ Rails.application.routes.draw do end end - # Root route - root to: proc { [200, {}, ["SMS Gateway API v1.0"]] } + # Public pages + get "docs", to: "pages#docs" + root to: "pages#home" end