Forum: Ruby on Rails css

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.
css
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?

Thanks
Scott
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.

--
http://www.mans.de
This topic is locked and can not be replied to.