On Wed, Jul 15, 2009 at 9:42 AM, Patrick Doyle<[email protected]> wrote:

> Thanks... I wasn't aware of self.get_layout.  But my issue isn't so
> much selecting a layout as it is passing the parameters around to help
> me decide which layout (or which stylesheet) I should use.

> Or, there could be a much more obvious way to tackle this problem.

Why not just save the user preference in a persistent cookie, so it
continues in effect when the user returns?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to