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.
2 parents dfd22ad + b1b3e9f commit 790efeeCopy full SHA for 790efee
lib/active_model_serializers/railtie.rb
@@ -24,7 +24,9 @@ class Railtie < Rails::Railtie
24
ActiveModelSerializers.config.perform_caching = Rails.configuration.action_controller.perform_caching
25
end
26
27
- generators do
+ generators do |app|
28
+ Rails::Generators.configure!(app.config.generators)
29
+ Rails::Generators.hidden_namespaces.uniq!
30
require 'generators/rails/resource_override'
31
32
0 commit comments