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