Displaying 1 result from an estimated 1 matches for "theme_stylesheet".
Did you mean:
theme_stylesheets
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
...add_route
So your create_theme_routes should look like this
def create_theme_routes
add_named_route ''theme_images'', "/themes/:theme/images/:filename",
:controller=>''theme'', :action=>''images''
add_named_route ''theme_stylesheets'',
"/themes/:theme/stylesheets/:filename", :controller=>''theme'',
:action=>''stylesheets''
add_named_route ''theme_javascript'',
"/themes/:theme/javascript/:filename", :controller=>''theme'',...