Skip to content

Commit 24d7b7f

Browse files
committed
docs: fix route path example
route_to() returns a path with leading `/`.
1 parent fb2f809 commit 24d7b7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/general/urls.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Term Example Description
3434
========== ============================ =========================================
3535
Base URL **https://www.example.com/** Base URL is often denoted as **baseURL**.
3636
URI path /blog/news/2022/10
37-
Route path blog/news/2022/10 The URI path relative to the Base URL.
37+
Route path /blog/news/2022/10 The URI path relative to the Base URL.
3838
It is also called as **URI string**.
3939
Query page=2
4040
========== ============================ =========================================
@@ -53,7 +53,7 @@ Term Example Description
5353
========== ==================================== =========================================
5454
Base URL **https://www.example.com/ci-blog/** Base URL is often denoted as **baseURL**.
5555
URI path /ci-blog/blog/news/2022/10
56-
Route path blog/news/2022/10 The URI path relative to the Base URL.
56+
Route path /blog/news/2022/10 The URI path relative to the Base URL.
5757
It is also called as **URI string**.
5858
Query page=2
5959
========== ==================================== =========================================

0 commit comments

Comments
 (0)