Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 19:10:29 +01:00
Ensure wizard asset paths are included
Dieser Commit ist enthalten in:
Ursprung
1c9d52bcfc
Commit
8fd5ae7169
1 geänderte Dateien mit 4 neuen und 6 gelöschten Zeilen
|
@ -22,12 +22,10 @@ if Rails.env.production?
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
if Rails.env.test?
|
|
||||||
config = Rails.application.config
|
config = Rails.application.config
|
||||||
plugin_asset_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets"
|
plugin_asset_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets"
|
||||||
config.assets.paths << "#{plugin_asset_path}/javascripts"
|
config.assets.paths << "#{plugin_asset_path}/javascripts"
|
||||||
config.assets.paths << "#{plugin_asset_path}/stylesheets/wizard"
|
config.assets.paths << "#{plugin_asset_path}/stylesheets/wizard"
|
||||||
end
|
|
||||||
|
|
||||||
if respond_to?(:register_svg_icon)
|
if respond_to?(:register_svg_icon)
|
||||||
register_svg_icon "far-calendar"
|
register_svg_icon "far-calendar"
|
||||||
|
|
Laden …
In neuem Issue referenzieren