spec/dummy/config/environments/development.rb in genkan-0.2.1 vs spec/dummy/config/environments/development.rb in genkan-0.2.2
- old
+ new
@@ -11,15 +11,15 @@
# Show full error reports.
config.consider_all_requests_local = true
# Enable/disable caching. By default caching is disabled.
- if Rails.root.join('tmp/caching-dev.txt').exist?
+ if Rails.root.join("tmp/caching-dev.txt").exist?
config.action_controller.perform_caching = true
config.cache_store = :memory_store
config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}"
+ "Cache-Control" => "public, max-age=#{2.days.seconds.to_i}",
}
else
config.action_controller.perform_caching = false
config.cache_store = :null_store