diff --git a/app/models/theme_field.rb b/app/models/theme_field.rb index cceb9493de2..f94620404fd 100644 --- a/app/models/theme_field.rb +++ b/app/models/theme_field.rb @@ -379,9 +379,9 @@ class ThemeField < ActiveRecord::Base ThemeFileMatcher.new(regex: /^common\/embedded\.scss$/, targets: :common, names: "embedded_scss", types: :scss, canonical: -> (h) { "common/embedded.scss" }), - ThemeFileMatcher.new(regex: /^scss\/(?.+)\.scss$/, + ThemeFileMatcher.new(regex: /^(?:scss|stylesheets)\/(?.+)\.scss$/, targets: :extra_scss, names: nil, types: :scss, - canonical: -> (h) { "scss/#{h[:name]}.scss" }), + canonical: -> (h) { "stylesheets/#{h[:name]}.scss" }), ThemeFileMatcher.new(regex: /^settings\.ya?ml$/, names: "yaml", types: :yaml, targets: :settings, canonical: -> (h) { "settings.yml" }),