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 19a0f12 commit 586cc6cCopy full SHA for 586cc6c
lib/critical_path_css/rails/config_loader.rb
@@ -4,7 +4,7 @@ class ConfigLoader
4
CONFIGURATION_FILENAME = 'critical_path_css.yml'.freeze
5
6
def load
7
- config = YAML.safe_load(ERB.new(File.read(configuration_file_path)).result)[::Rails.env]
+ config = YAML.safe_load(ERB.new(File.read(configuration_file_path)).result, [], [], true)[::Rails.env]
8
config['css_path'] = "#{::Rails.root}/public" + (
9
config['css_path'] ||
10
ActionController::Base.helpers.stylesheet_path(
0 commit comments