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([EMAIL PROTECTED], @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 "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to