How to specify a layout for an Action?

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

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 : [email protected] |
`========================’

Pierre-Alexandre M. wrote:

render :layout => :my_layout

Great. Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs