Modified:
trunk/seb/app/controllers/stats_controller.rb
trunk/seb/config/environment.rb
Log:
fixing caching
Modified: trunk/seb/app/controllers/stats_controller.rb
==============================================================================
--- trunk/seb/app/controllers/stats_controller.rb (original)
+++ trunk/seb/app/controllers/stats_controller.rb Tue Apr 15 11:57:22 2008
@@ -8,8 +8,8 @@
end
def summary
- @graph = open_flash_chart_object(600,300, '/stats/per_day.html', false)
- @months =
open_flash_chart_object(600,300, '/stats/per_month,html', false)
+ @graph = open_flash_chart_object(600,300, '/stats/per_day', false)
+ @months = open_flash_chart_object(600,300, '/stats/per_month', false)
end
def per_day
Modified: trunk/seb/config/environment.rb
==============================================================================
--- trunk/seb/config/environment.rb (original)
+++ trunk/seb/config/environment.rb Tue Apr 15 11:57:22 2008
@@ -19,6 +19,7 @@
# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{RAILS_ROOT}/extras )
config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
+config.action_controller.page_cache_extension = ""
# Force all environments to use the same logger level
# (by default production uses :info, the others :debug)
# config.log_level = :debug