How to specify a layout for an Action?


#1

I need Login action to use a special layout. How can I do that?


#2

On Wed, Mar 14, 2007 at 09:24:06AM +0100, Nanyang Z. wrote :

I need Login action to use a special layout. How can I do that?

render :layout => :my_layout


,========================.
| Pierre-Alexandre M. |
| email : removed_email_address@domain.invalid |
`========================’


#3

Pierre-Alexandre M. wrote:

render :layout => :my_layout

Great. Thanks.