lib/decanter/railtie.rb in decanter-0.5.4 vs lib/decanter/railtie.rb in decanter-0.5.5

- old
+ new

@@ -4,6 +4,12 @@ class Decanter::Railtie < Rails::Railtie initializer 'decanter.configure' do ActiveRecord::Base.include(Decanter::Extensions) if defined? ActiveRecord end + + generators do |app| + Rails::Generators.configure!(app.config.generators) + Rails::Generators.hidden_namespaces.uniq! + require 'generators/rails/resource_override' + end end