Displaying 1 result from an estimated 1 matches for "site_xxx_path".
2007 Oct 18
1
Problem with url_for
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.