You can prepend the view paths in the application controller based on the 
domain name. This will give you the ability to have a "custom" folder for views 
on a per domain basis

-Eric

On Tuesday, 6 September 2011 at 4:09 PM, Nicholas Faiz wrote:

> Are you just trying to allow a tenant to customize the look and feel?
> 
> In that case, you can store the layout in the database, and look it up in the 
> controller via the user's account. 
> 
> Cheers,
> Nicholas
> 
>  -- 
>  You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
>  To view this discussion on the web visit 
> https://groups.google.com/d/msg/rails-oceania/-/rQwQ_U2OkcIJ.
>  To post to this group, send email to [email protected] 
> (mailto:[email protected]).
>  To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
>  For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to