Style fixes
This commit is contained in:
parent
5d944d679b
commit
b46700da60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user