diff options
Diffstat (limited to 'user_guide/tutorial')
-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> |