diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-07 12:55:21 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-07 12:55:21 +0100 |
commit | b1b2e0ccc17193e0f765857ff65a66856e984b19 (patch) | |
tree | 7217638f57b5c91b9549f450283e723315bee168 /user_guide_src | |
parent | 2a934c784aa1655b68d7c617914425b6bfe33b53 (diff) | |
parent | 130a311f22a9fcd009dd81bf01f9b1ce802bb318 (diff) |
Merge pull request #651 from polyetilen/patch-1
Logic error in pages tutorial code example.
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/tutorial/static_pages.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst index 0bbf51b1b..06330d56a 100644 --- a/user_guide_src/source/tutorial/static_pages.rst +++ b/user_guide_src/source/tutorial/static_pages.rst @@ -28,7 +28,7 @@ code. <?php class Pages extends CI_Controller { - public function view($page == 'home') + public function view($page = 'home') { } |