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
8 def auto_generated_path
9 - File.dirname(path) << "/auto_generated"
10 + "#{Rails.root}/public/assets/auto_generated_plugin_assets/#{name}"
13 def after_initialize(&block)