code formatting
Dieser Commit ist enthalten in:
Ursprung
ae918976a3
Commit
1bc55c6099
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -97,7 +97,7 @@ after_initialize do
|
||||||
load File.expand_path(path, __FILE__)
|
load File.expand_path(path, __FILE__)
|
||||||
end
|
end
|
||||||
|
|
||||||
add_to_class(::Sprockets::DirectiveProcessor, :process_require_tree_discourse_directive ) do |path = "."|
|
add_to_class(::Sprockets::DirectiveProcessor, :process_require_tree_discourse_directive) do |path = "."|
|
||||||
discourse_asset_path = "#{Rails.root}/app/assets/javascripts/"
|
discourse_asset_path = "#{Rails.root}/app/assets/javascripts/"
|
||||||
path = File.expand_path(path, discourse_asset_path)
|
path = File.expand_path(path, discourse_asset_path)
|
||||||
stat = @environment.stat(path)
|
stat = @environment.stat(path)
|
||||||
|
|
Laden …
In neuem Issue referenzieren