[font="Tahoma"][size="3"]Hi
[color="#FF0000"]What is difference between two below line with example?[/color]
[color="#FF0000"]1)[/color]return $this->redirect(‘www.google.com’);
[color="#FF0000"]2)[/color]return $this->render(‘post’);[/size][/font]
itma
(Andrzej Bernat)
2
The first redirects to the given url, the second renders a view given as a parameter. Two completely diffrent methods.
itma
(Andrzej Bernat)
4