Skip to content

Commit

Permalink
Fixed pages route. Thanks @tomcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
joelcox authored and Phil Sturgeon committed Oct 26, 2011
1 parent 7bd6335 commit 18cb551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide/tutorial/static_pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h2>Routing</h2>
<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>

Expand Down

0 comments on commit 18cb551

Please sign in to comment.