[Rails] *Very* basic layout question

Jakob Skjerning jakob at mentalized.net
Sun Jan 22 15:26:51 GMT 2006


On Jan 22, 2006, at 15:43, Santiago Hirschfeld wrote:

> I'm trying to use a different layout for just one action in my
> controller, all the other actions use the application.rhtml layout,

I'm not sure why what you already have doesn't work, but instead just  
do render(:action => 'some_action', :layout => 'simple') in your action.

--
Jakob Skjerning - http://mentalized.net





More information about the Rails mailing list