Suporte a enderecos relativos

This commit is contained in:
2008-03-02 18:30:31 -03:00
parent 5e4951fa47
commit c5cb69f277
20 changed files with 41 additions and 36 deletions

View File

@@ -74,8 +74,9 @@ ActionController::Routing::Routes.draw do |map|
map.dashboard '/dashboard', :controller => 'users', :action => 'dashboard'
# Stylesheets
map.connect 'stylesheets/:action.:format', :controller => 'stylesheets'
map.connect 'stylesheets/themes/:action.:color.:format', :controller => 'stylesheets'
# Front page
map.connect '', :controller => 'courses', :action => 'index'
map.index '', :controller => 'courses', :action => 'index'
end