Forum: Ruby on Rails how to specify a layout for an Action?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C91098dc76d7ad473165ef24fe805312?d=identicon&s=25 Nanyang Zhan (xain)
on 2007-03-14 09:24
I need Login action to use a special layout. How can I do that?
28c315da59bc0bc0a544ed4a75ad26e9?d=identicon&s=25 Pierre-Alexandre Meyer (Guest)
on 2007-03-14 09:47
(Received via mailing list)
On Wed, Mar 14, 2007 at 09:24:06AM +0100, Nanyang Zhan wrote :
> I need Login action to use a special layout. How can I do that?

render :layout => :my_layout

--
,========================.
| Pierre-Alexandre Meyer |
| email : pam@mouraf.org |
`========================'
C91098dc76d7ad473165ef24fe805312?d=identicon&s=25 Nanyang Zhan (xain)
on 2007-03-14 11:19
Pierre-Alexandre Meyer wrote:

> render :layout => :my_layout

Great. Thanks.
This topic is locked and can not be replied to.