Welcome Guest, Not a member yet? Register   Sign In
When is appropriate to use Redirect?
#2

[eluser]Ben Edmunds[/eluser]
You can still load views. The reason I did it that way is because most MY_Controllers automatically build data and load views based on the URL, by redirecting you can take advantage of that instead of writing it twice. It seemed like the simplest, most compatible way to handle it for generic use.

For most of my own apps I will jut call the controller method instead of redirecting.


Messages In This Thread
When is appropriate to use Redirect? - by El Forum - 11-20-2012, 12:06 AM
When is appropriate to use Redirect? - by El Forum - 11-21-2012, 12:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB