mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Do not include theme variables in plugin SCSS, and fix register_css
This commit is contained in:
parent
4a11e7ee56
commit
081c36a459
6 changed files with 112 additions and 66 deletions
|
@ -266,7 +266,7 @@ class Plugin::Instance
|
|||
automatic_assets.each do |path, contents|
|
||||
write_asset(path, contents)
|
||||
paths << path
|
||||
assets << [path]
|
||||
assets << [path, nil, directory_name]
|
||||
end
|
||||
|
||||
delete_extra_automatic_assets(paths)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue