Reativando o cache nas folhas de estilo

This commit is contained in:
2008-03-06 18:56:00 -03:00
parent 9cd00247f9
commit c206a678bd
20 changed files with 153 additions and 157 deletions

View File

@@ -9,7 +9,7 @@ config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = false
config.action_controller.perform_caching = true
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"

View File

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