Style fixes

This commit is contained in:
Nicholas La Roux 2019-04-04 17:45:02 +09:00
parent 5d944d679b
commit b46700da60
No known key found for this signature in database
GPG Key ID: EA5C7110ACC526A8

@ -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