On Fri, Jan 15, 2010 at 7:50 AM, Alpha Blue <[email protected]> wrote:

> Fred, so the issue with the code above is this:
>
> When using such a helper it will display:
>
> link href="/stylesheets/public/themes/default/stylesheets/default.css"
> media="screen" rel="stylesheet" type="text/css"
>
> .. which won't work.
>
> The issue here is that /stylesheets is being used as the default
> stylesheets_path through rails.  In order to utilize such a helper, I
> have to first change the stylesheet_path to go to ''.
>
> The same would have to be done for image_path, javascripts_path, etc.
>
>
  That seems simple enough - you may be able to monkey patch those methods
in the controller level to do './themes/current_user.theme/'
--
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