diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-11 02:55:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 02:55:20 +0900 |
commit | 43288a053feecf7cdbe74e61f3ca2038d976e9f4 (patch) | |
tree | 7f429acf646aa124269b2961a92f0229cb2df9d3 /railties | |
parent | 63ca58ae7bbafa0983ed8968ea6310ef33956261 (diff) | |
parent | 831fa3dacb3eb1f20335748059d0e0a10dbb2b78 (diff) | |
download | rails-43288a053feecf7cdbe74e61f3ca2038d976e9f4.tar.gz rails-43288a053feecf7cdbe74e61f3ca2038d976e9f4.tar.bz2 rails-43288a053feecf7cdbe74e61f3ca2038d976e9f4.zip |
Merge pull request #35916 from soartec-lab/delete_not_use_method
Delete not user method for plugin_generator
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index 79a06648b5..895b3b2e92 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -144,17 +144,6 @@ task default: :test end end - def javascripts - return if options.skip_javascript? - - if mountable? - template "rails/javascripts.js", - "app/assets/javascripts/#{namespaced_name}/application.js" - elsif full? - empty_directory_with_keep_file "app/assets/javascripts/#{namespaced_name}" - end - end - def bin(force = false) bin_file = engine? ? "bin/rails.tt" : "bin/test.tt" template bin_file, force: force do |content| @@ -236,10 +225,6 @@ task default: :test build(:stylesheets) unless api? end - def create_javascript_files - build(:javascripts) unless api? - end - def create_bin_files build(:bin) end |