We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fd8e3 commit bf28f3cCopy full SHA for bf28f3c
1 file changed
config/application.rb
@@ -316,6 +316,15 @@ class Application < Rails::Application
316
# Link to external guidance about selecting one of the preferred licenses. A default
317
# URL will be displayed if none is provided here. See app/views/research_outputs/licenses/_form
318
config.x.madmp.preferred_licenses_guidance_url = 'https://creativecommons.org/about/cclicenses/'
319
+
320
321
+ # don adding environment variables from ./config/environments/* files
322
+ config.cache_classes = ENV["CACHE_CLASSES"]
323
+ config.eager_load = ENV["EAGER_LOAD"]
324
+ config.consider_all_requests_local = ENV["CONSIDER_ALL_REQUESTS_LOCAL"]
325
+ config.action_controller.perform_caching = ENV["PERFORM_CACHING"]
326
+ config.cache_store = ENV["CACHE_STORE"].to_sym
327
328
end
329
330
0 commit comments