2009/1/21 Zhao Yi <[email protected]> > > When I use "redirect_to ({:controller=>'builder', :action=>'index'}) > ", I have specify the controller is builder, it should use builder > layout, right? But it still in admin layout.
Are you saying that after the redirect_to it shows the view from views/builder/index.html.erb but uses the layout from views/layouts/admin.html.erb instead of views/layouts/builder.html.erb? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

