Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Router :: route wrapper
I need know how show url that
How i need define the route propperly and how i make de call?
Thank for the time.
You can't without quite a bit of code (to pick up that user id) in your route.php, which is something you would want to avoid.
Instead, route to "admin/user/edit" without the number, define the method as "action_edit($id = null)", and then in the action, if no id is passed ($id == null), do a current user id lookup.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion