Hey everyone,
I have an Asset class that extends AR::Base, and a series of 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