Welcome Guest, Not a member yet? Register   Sign In
Redirect to controller specific function w/parameters
#3

[eluser]chitoso[/eluser]
Thanks for the reply.

Well, the main reason would be not to depend on urls.

If I can do a redirect directly to the controller function, like:
Code:
redirect('admin/admin/edit_page/', $id)
, then I could change urls on routes.php without having to change all my redirects afterwards.

Anyway, it's good to know I'm on the right track.


Messages In This Thread
Redirect to controller specific function w/parameters - by El Forum - 05-30-2010, 01:58 PM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 01:15 AM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 08:50 AM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB