diff options
author | Joël Cox <joel@joelcox.nl> | 2011-09-07 21:17:37 +0200 |
---|---|---|
committer | Joël Cox <joel@joelcox.nl> | 2011-09-07 21:17:37 +0200 |
commit | c4dd200c1155a118afa32cd91d9bd67bc243f83a (patch) | |
tree | 5c391a8b4248066d62277c8260865ce46960bb69 /user_guide | |
parent | 5696374de382414cec9123e090a7d6df854e5934 (diff) |
Fixed pages route. Thanks @tomcode.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/tutorial/static_pages.html | 2 |
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> |