Skip to content

Commit 1d54de4

Browse files
authored
Merge pull request #6304 from kenjis/fix-docs-tutorial-static_pages.rst
docs: fix wrong URL explanation in Tutorial
2 parents f77d6f4 + c9d52f7 commit 1d54de4

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

user_guide_src/source/tutorial/static_pages.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,18 +183,19 @@ controller you made above produces...
183183
+---------------------------------+-----------------------------------------------------------------+
184184
| URL | Will show |
185185
+=================================+=================================================================+
186+
| localhost:8080/ | the CodeIgniter "welcome" page. the results from the ``index()``|
187+
| | method in the ``Home`` controller. |
188+
+---------------------------------+-----------------------------------------------------------------+
186189
| localhost:8080/pages | the results from the ``index()`` method inside our ``Pages`` |
187190
| | controller, which is to display the CodeIgniter "welcome" page. |
188191
+---------------------------------+-----------------------------------------------------------------+
189-
| localhost:8080/pages/view | the "home" page that you made above, because it is the default |
190-
| | "page" parameter to the ``view()`` method. |
191-
+---------------------------------+-----------------------------------------------------------------+
192-
| localhost:8080/pages/view/home | show the "home" page that you made above, because we explicitly |
193-
| | asked for it. |
192+
| localhost:8080/home | show the "home" page that you made above, because we explicitly |
193+
| | asked for it. the results from the ``view()`` method inside our |
194+
| | ``Pages`` controller. |
194195
+---------------------------------+-----------------------------------------------------------------+
195-
| localhost:8080/pages/view/about | the "about" page that you made above, because we explicitly |
196+
| localhost:8080/about | the "about" page that you made above, because we explicitly |
196197
| | asked for it. |
197198
+---------------------------------+-----------------------------------------------------------------+
198-
| localhost:8080/pages/view/shop | a "404 - File Not Found" error page, because there is no |
199+
| localhost:8080/shop | a "404 - File Not Found" error page, because there is no |
199200
| | **app/Views/pages/shop.php**. |
200201
+---------------------------------+-----------------------------------------------------------------+

0 commit comments

Comments
 (0)