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 -- Posted via http://www.ruby-forum.com/.
Hi im using this code below layout "loggedout_layout", :only => :logout this part limits it to the logout page only, how can I get it to limit it to logout and login page? Thanks Scott -- Posted via http://www.ruby-forum.com/.
layout "loggedout_layout", :only => [:logout, :login] On 4/20/06, Scott <scott@urbandream.net> wrote:> Hi im using this code below > > layout "loggedout_layout", :only => :logout > > this part limits it to the logout page only, how can I get it to limit > it to logout and login page? > > Thanks > Scott > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 4/20/06, Scott <scott@urbandream.net> wrote:> layout "loggedout_layout", :only => :login, :logoutHaven''t tried it myself, but :only => [ :login, :logout ] should work. -- http://www.mans.de