Displaying 1 result from an estimated 1 matches for "site_asset_path".
2007 Oct 18
1
Problem with url_for
...subclasses of Asset (Stylesheet, Layout, etc.)
I have REST routes set up with assets nested under sites.
when doing something like url_for([@site, @asset]), if @asset is a
Stylesheet, I''ll get an undefined method ''site_stylesheet_path'',
where what I really need is site_asset_path. I''ve patched Rails
locally to fix this, but before I formally submit a patch for this
I''d like to hear your thoughts on this.
Thanks,
Brennan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups &qu...