Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / web-apps / discourse / auto_generated_path.patch
blobc80e4a48ecd968fbaed4eee41356df32f06fb276
1 diff --git a/lib/plugin/instance.rb b/lib/plugin/instance.rb
2 index 8482ff0210..826d111d65 100644
3 --- a/lib/plugin/instance.rb
4 +++ b/lib/plugin/instance.rb
5 @@ -455,7 +455,7 @@ class Plugin::Instance
6 end
8 def auto_generated_path
9 - File.dirname(path) << "/auto_generated"
10 + "#{Rails.root}/public/assets/auto_generated_plugin_assets/#{name}"
11 end
13 def after_initialize(&block)