lib/generators/loco/initializer/initializer_generator.rb in loco-rails-3.0.3 vs lib/generators/loco/initializer/initializer_generator.rb in loco-rails-3.0.4

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module Loco class InitializerGenerator < Rails::Generators::Base - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path('templates', __dir__) def copy_initializer_file copy_file 'initializer.rb', 'config/initializers/loco.rb' end end