Yii: Render action using different layout than controller's layout
Asked 07 September, 2021
Viewed 834 times
  • 59
Votes

In Yii, is there a way to render a single action using a different layout than that defined for the controller? I have an action that I would like to format differently from the rest, and it's not clear from the documentation if that's possible.

2 Answer