aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorNicholas La Roux <larouxn@gmail.com>2019-04-05 15:32:20 +0900
committerNicholas La Roux <larouxn@gmail.com>2019-04-05 16:09:23 +0900
commitcf5049f88b97f1a813b5b465500127506febb3b0 (patch)
treec72af31570360e153e6575c291bd3f0e5c408486 /railties/lib
parentb46700da6069cf937f5d9b47b6bc19847bd3742a (diff)
downloadrails-cf5049f88b97f1a813b5b465500127506febb3b0.tar.gz
rails-cf5049f88b97f1a813b5b465500127506febb3b0.tar.bz2
rails-cf5049f88b97f1a813b5b465500127506febb3b0.zip
Burn unnecessary files 🔥
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/js/assets/assets_generator.rb15
-rw-r--r--railties/lib/rails/generators/js/assets/templates/javascript.js2
-rw-r--r--railties/lib/rails/generators/rails/assets/templates/javascript.js2
3 files changed, 0 insertions, 19 deletions
diff --git a/railties/lib/rails/generators/js/assets/assets_generator.rb b/railties/lib/rails/generators/js/assets/assets_generator.rb
deleted file mode 100644
index a45cfc5a1c..0000000000
--- a/railties/lib/rails/generators/js/assets/assets_generator.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-require "rails/generators/named_base"
-
-module Js # :nodoc:
- module Generators # :nodoc:
- class AssetsGenerator < Rails::Generators::NamedBase # :nodoc:
- source_root File.expand_path("templates", __dir__)
-
- def copy_javascript
- copy_file "javascript.js", File.join("app/javascript", class_path, "#{file_name}.js")
- end
- end
- end
-end
diff --git a/railties/lib/rails/generators/js/assets/templates/javascript.js b/railties/lib/rails/generators/js/assets/templates/javascript.js
deleted file mode 100644
index 6f10efeb33..0000000000
--- a/railties/lib/rails/generators/js/assets/templates/javascript.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// Place all the behaviors and hooks related to the matching controller here.
-// All this logic will automatically be available in application.js.
diff --git a/railties/lib/rails/generators/rails/assets/templates/javascript.js b/railties/lib/rails/generators/rails/assets/templates/javascript.js
deleted file mode 100644
index 6f10efeb33..0000000000
--- a/railties/lib/rails/generators/rails/assets/templates/javascript.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// Place all the behaviors and hooks related to the matching controller here.
-// All this logic will automatically be available in application.js.