Forum: Ruby on Rails css

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Scott (Guest)
on 2006-04-20 16:14
Hi im using this code below

layout "loggedout_layout", :only => :login, :logout

this part limits it to logout only, how can I get it to limit it to
logout and login?

Hendrik M. (Guest)
on 2006-04-20 16:21
(Received via mailing list)
On 4/20/06, Scott <removed_email_address@domain.invalid> wrote:
> layout "loggedout_layout", :only => :login, :logout

Haven't tried it myself, but :only => [ :login, :logout ] should work.

This topic is locked and can not be replied to.