URI routing question |
[eluser]Assim[/eluser]
Let's say I have something as "page" (class) in the first segment, "view" (function) in the second, and the page ID (parameter) in the third segment. But I wanted to change that so that I can remove view (function) using the URI routing, so that it will be something like: http://www.example.com/index.php/page/id (where id is the page id) instead of http://www.example.com/index.php/page/view/id What line should I add to the routes.php file? |
Messages In This Thread |
URI routing question - by El Forum - 11-11-2009, 05:23 AM
URI routing question - by El Forum - 11-11-2009, 05:31 AM
|