]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Localisation updates from https://translatewiki.net.
[rails.git] / config / environments / production.rb
index 3c6c21cef0ab9cb8b2b21596e0690ec9aac03f67..ccba43daafd5df6a919dae258fac24d94a6c3254 100644 (file)
@@ -22,7 +22,7 @@ OpenStreetMap::Application.configure do
 
   # Disable serving static files from the `/public` folder by default since
   # Apache or NGINX already handles this.
-  config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
+  config.serve_static_files = ENV["RAILS_SERVE_STATIC_FILES"].present?
 
   # Compress JavaScripts and CSS.
   config.assets.js_compressor = :uglifier
@@ -58,9 +58,7 @@ OpenStreetMap::Application.configure do
   # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
 
   # Use a different cache store in production.
-  if defined?(MEMCACHE_SERVERS)
-    config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
-  end
+  # config.cache_store = :mem_cache_store
 
   # Configure caching of static assets
   config.action_controller.page_cache_directory = Rails.public_path