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
committerJoël Cox <joel@joelcox.nl>2011-09-07 21:17:37 +0200
commitc4dd200c1155a118afa32cd91d9bd67bc243f83a (patch)
tree5c391a8b4248066d62277c8260865ce46960bb69 /user_guide/tutorial/static_pages.html
parent5696374de382414cec9123e090a7d6df854e5934 (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>