On Jan 15, 3:50 pm, 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"

That sounds like the path you passed didn't have a leading / (and you
don't want the public in there).

Fred

>
> .. 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.
> --
> Posted viahttp://www.ruby-forum.com/.
-- 
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