summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/static_pages.html
diff options
context:
space:
mode:
authorJoël Cox <joel@joelcox.nl>2011-09-07 21:17:37 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-27 00:44:18 +0200
commit18cb551318b58afd8d6e6ae89f396795dbe19bfd (patch)
tree0b26ae7f41d25aadebe4bd447283f438e65a18f3 /user_guide/tutorial/static_pages.html
parent7bd6335c77cfc5fec9e7e788d45d110c1b09ffd1 (diff)
Fixed pages route. Thanks @tomcode.
Diffstat (limited to 'user_guide/tutorial/static_pages.html')
-rw-r--r--user_guide/tutorial/static_pages.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/tutorial/static_pages.html b/user_guide/tutorial/static_pages.html
index 51a04c689..26c8306e1 100644
--- a/user_guide/tutorial/static_pages.html
+++ b/user_guide/tutorial/static_pages.html
@@ -171,7 +171,7 @@ The second parameter in the <var>view()</var> method is used to pass values to t
<p>Let's do that. Open the routing file located at <dfn>application/config/routes.php</dfn> and add the following two lines. Remove all other code that sets any element in the <var>$route</var> array.</p>
<pre>
-$route['default_controller'] = 'pages';
+$route['default_controller'] = 'pages/view';
$route['(:any)'] = 'pages/view/$1';
</pre>