From 12248b885c9d6f8bf38698a87d2c453f134d96bb Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Mon, 12 Oct 2015 14:39:53 +0900 Subject: do not generate manifest.js in plugins Since the plugin generator do not generate assets, I think manifest.js also that it unnecessary. --- railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib') diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index 910c4e743e..81bc902bde 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -226,7 +226,7 @@ task default: :test end def create_assets_manifest_file - build(:assets_manifest) unless api? + build(:assets_manifest) if !api? && engine? end def create_public_stylesheets_files -- cgit v1.2.3