Load a different layout in PagesController

I have the method beforeFilter where I load a layout but in the method “admin” I want to load a different layout and it doesn’t let me do it.

php%20(edpap)%20-%20Sublime%20Text

If I delete the beforeFilter method, I don’t load any layout. How can i fix this? Thank you