diff options
author | seb <seb@seb-U36JC> | 2011-11-21 14:50:44 +0000 |
---|---|---|
committer | seb <seb@seb-U36JC> | 2011-11-21 14:50:44 +0000 |
commit | fa58d1b9eb961475d1eb3062cdbdf06fa8ca925c (patch) | |
tree | 12c188947ef712b764fdc890c28b0222f05ad25a /config/routes.rb | |
parent | 69bcb7fe3fed27f3499654209e65fd627f788aaa (diff) |
Support legacy theme technique for backwards compatibility, and update the theming docs
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index a238e2102..48bf92e75 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -20,6 +20,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 '/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 |