Reativando o cache nas folhas de estilo
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user