Re: Controller render() issue

2010-10-22 Thread cricket
On Fri, Oct 22, 2010 at 9:00 AM, Adrian Arnautu wrote: > Hello, > I'm facing a strange problem. In my controller I call $this->render() with a > particular layout and then I use the default layout. > Example: > $this->set('foo', $this->render('bar', 'other_layout'); > $this->layout = 'default'; >

Controller render() issue

2010-10-22 Thread Adrian Arnautu
Hello, I'm facing a strange problem. In my controller I call $this->render() with a particular layout and then I use the default layout. Example: $this->set('foo', $this->render('bar', 'other_layout'); $this->layout = 'default'; I know it's wrong and it's not the MVC way, the rendering part shoul