diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-06-14 09:51:57 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-06-14 09:51:57 +0100 |
commit | 557a25aec4f41ebaba67349011052e04e1c68f9f (patch) | |
tree | 43fd3383316184ac643a992d80cc377c447fedd7 | |
parent | 42819416d66535ce68ab738a42580fa96baedf3d (diff) |
correct route for custom stylesheet (provided by themes)
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2bf8e87fb..4ef43a901 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -17,7 +17,7 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'general' do |general| general.frontpage '/', :action => 'frontpage' general.blog '/blog', :action => 'blog' - general.custom_css '/custom.css', :action => 'custom_css' + general.custom_css '/stylesheets/custom.css', :action => 'custom_css' general.search_redirect '/search', :action => 'search_redirect' # XXX combined is the search query, and then if sorted a "/newest" at the end. # Couldn't find a way to do this in routes which also picked up multiple other slashes |