diff options
author | Master Yoda <jim_parry@bcit.ca> | 2015-03-25 10:36:31 +0100 |
---|---|---|
committer | Master Yoda <jim_parry@bcit.ca> | 2015-03-25 10:36:31 +0100 |
commit | bd2a7e4062fd97017c5b16beddc15b0c7fc38210 (patch) | |
tree | 723bcf3f85158037e928123fcbeef05384252354 /user_guide_src/source/tutorial/static_pages.rst | |
parent | 7ad59209ad2443b8ea113222e3cab38ab305da92 (diff) |
Fixed user guide internal & external links to resolve problems reported by sphinx "make linkcheck"
Signed-off-by:Master Yoda <jim_parry@bcit.ca>
Diffstat (limited to 'user_guide_src/source/tutorial/static_pages.rst')
-rw-r--r-- | user_guide_src/source/tutorial/static_pages.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst index 53f286473..210d9f8d6 100644 --- a/user_guide_src/source/tutorial/static_pages.rst +++ b/user_guide_src/source/tutorial/static_pages.rst @@ -3,7 +3,7 @@ Static pages ############ **Note:** This tutorial assumes you've downloaded CodeIgniter and -`installed the framework <../installation/index.html>`_ in your +:doc:`installed the framework <../installation/index>` in your development environment. The first thing you're going to do is set up a **controller** to handle @@ -12,14 +12,14 @@ It is the glue of your web application. For example, when a call is made to: - http://example.com/news/latest/10 + http://example.com/news/latest/10 We might imagine that there is a controller named "news". The method being called on news would be "latest". The news method's job could be to grab 10 news items, and render them on the page. Very often in MVC, you'll see URL patterns that match: - http://example.com/[controller-class]/[controller-method]/[arguments] + http://example.com/[controller-class]/[controller-method]/[arguments] As URL schemes become more complex, this may change. But for now, this is all we will need to know. @@ -159,7 +159,7 @@ match, and calls the appropriate controller and method, possibly with arguments. More information about routing can be found in the URI Routing -`documentation <../general/routing.html>`_. +:doc:`documentation <../general/routing>`. Here, the second rule in the $routes array matches **any** request using the wildcard string (:any). and passes the parameter to the ``view()`` |