aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorsoartec-lab <info@soartec-lab.work>2019-04-09 22:36:25 +0900
committersoartec-lab <info@soartec-lab.work>2019-04-09 22:36:25 +0900
commit831fa3dacb3eb1f20335748059d0e0a10dbb2b78 (patch)
tree68c23cda8f10c22779ce69e6fb3c9b03d1f3cb68 /railties/lib/rails
parent483d0dcb7649fc403bbad40719d82dc0a901f49e (diff)
downloadrails-831fa3dacb3eb1f20335748059d0e0a10dbb2b78.tar.gz
rails-831fa3dacb3eb1f20335748059d0e0a10dbb2b78.tar.bz2
rails-831fa3dacb3eb1f20335748059d0e0a10dbb2b78.zip
Delete not user method for plugin_generator
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb15
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