We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f2151 commit 2597d0fCopy full SHA for 2597d0f
lib/generators/jsonapi/initializer/initializer_generator.rb
@@ -1,7 +1,9 @@
1
-class InitializerGenerator < Rails::Generators::Base
2
- source_root File.expand_path('../templates', __FILE__)
+module Jsonapi
+ class InitializerGenerator < Rails::Generators::Base
3
+ source_root File.expand_path('../templates', __FILE__)
4
- def copy_initializer_file
5
- copy_file 'initializer.rb', 'config/initializers/jsonapi.rb'
+ def copy_initializer_file
6
+ copy_file 'initializer.rb', 'config/initializers/jsonapi.rb'
7
+ end
8
end
9
0 commit comments