Redirect button of view Detail at update Yii 1

I have the view “view” with cDetailView and I want to make a button that redirects to the edit of that model

if I am not missing some hidden stuff here, you should put a normal link, not a redirection, because you are in a view, meaning you are displaying the page.

You can redirect (remember redirect = http protocol) only if you haven’t started to display anything.
Hope it helps.

Hi dude, thanks for you answer, I could already solve the problem!