Hi
I'd like to have various "themes" for my site that cannot be achieved
by changing the CSS or anything else.
So my directory structure might look like this:
app
\ views
-
\ users
\ blogs
-
\ THEME2
-
\ users
\ blogs
(where the two "users" directories contain all the erb or haml)
With my controllers - is there a way to conditionally insert the
"theme2" directory into the view path before the erb/haml gets
searched for and rendered ?????
Would be nice to no have to explicitly call render
I'm using rails3
Any ideas?
thanks!
--
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.