lib/avo/app.rb in avo-2.32.6 vs lib/avo/app.rb in avo-2.33.0

- old
+ new

@@ -42,10 +42,10 @@ if Rails.env.production? case Rails.cache.class.to_s when "ActiveSupport::Cache::MemCacheStore", "ActiveSupport::Cache::RedisCacheStore" Rails.cache else - ActiveSupport::Cache.lookup_store(:file_store, "/tmp/cache") + ActiveSupport::Cache.lookup_store(:file_store, Rails.root.join("tmp", "cache")) end elsif Rails.env.test? Rails.cache else ActiveSupport::Cache.lookup_store(:memory_store)