Welcome Guest, Not a member yet? Register   Sign In
Multiple views from one controller
#3

[eluser]Scriptor[/eluser]
I'm guessing cancel was a controller method, and not a view Smile
If that's the case, remember the difference between a view and a controller method. Loading a view will simply look in the views folder for the file you specified. If you need to go to another method in a controller, you have to use redirect, which use a HTTP redirect, which basically tells the browser to load a completely new URL.
Hope that helps, remember to always find out both what works, and why it works.


Messages In This Thread
Multiple views from one controller - by El Forum - 06-23-2008, 01:17 PM
Multiple views from one controller - by El Forum - 06-23-2008, 06:38 PM
Multiple views from one controller - by El Forum - 06-23-2008, 08:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB