mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
11 lines
318 B
Ruby
11 lines
318 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Configure SolidCache
|
|
Rails.application.config.to_prepare do
|
|
# Only require the entries file as it seems the Entry class is defined there
|
|
begin
|
|
require 'solid_cache/store/entries'
|
|
rescue LoadError => e
|
|
Rails.logger.warn "Could not load SolidCache: #{e.message}"
|
|
end
|
|
end
|