diff options
author | Nicholas La Roux <larouxn@gmail.com> | 2019-04-04 17:45:02 +0900 |
---|---|---|
committer | Nicholas La Roux <larouxn@gmail.com> | 2019-04-05 16:09:23 +0900 |
commit | b46700da6069cf937f5d9b47b6bc19847bd3742a (patch) | |
tree | 4020b026bff74cb0b5fd4aa45bb0bd5dae7153f5 /railties | |
parent | 5d944d679bb21eec14eefa763958147c46f1d3e7 (diff) | |
download | rails-b46700da6069cf937f5d9b47b6bc19847bd3742a.tar.gz rails-b46700da6069cf937f5d9b47b6bc19847bd3742a.tar.bz2 rails-b46700da6069cf937f5d9b47b6bc19847bd3742a.zip |
Style fixes
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/js/assets/assets_generator.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/js/assets/assets_generator.rb b/railties/lib/rails/generators/js/assets/assets_generator.rb index 31a443838c..a45cfc5a1c 100644 --- a/railties/lib/rails/generators/js/assets/assets_generator.rb +++ b/railties/lib/rails/generators/js/assets/assets_generator.rb @@ -1,13 +1,13 @@ # frozen_string_literal: true - require "rails/generators/named_base" +require "rails/generators/named_base" - module Js # :nodoc: +module Js # :nodoc: module Generators # :nodoc: class AssetsGenerator < Rails::Generators::NamedBase # :nodoc: source_root File.expand_path("templates", __dir__) - def copy_javascript + def copy_javascript copy_file "javascript.js", File.join("app/javascript", class_path, "#{file_name}.js") end end |