diff --git a/lib/locomotive/steam/adapters/filesystem/yaml_loaders/page.rb b/lib/locomotive/steam/adapters/filesystem/yaml_loaders/page.rb index 2f2930b5..5d82c695 100644 --- a/lib/locomotive/steam/adapters/filesystem/yaml_loaders/page.rb +++ b/lib/locomotive/steam/adapters/filesystem/yaml_loaders/page.rb @@ -60,7 +60,7 @@ def load_tree def load_data Dir.glob(File.join(data_path, '**', '*.json')).each do |filepath| - filepath =~ /#{data_path}\/([a-z]+)\// + filepath =~ /#{data_path}\/([a-z,A-Z,-]+)\// data = safe_json_file_load(filepath) locale = $1.to_sym