lib/ab_admin/engine.rb in ab_admin-0.8.3 vs lib/ab_admin/engine.rb in ab_admin-0.9.0
- old
+ new
@@ -17,9 +17,10 @@
ActiveRecord::Base.send :include, AbAdmin::Concerns::Utilities
ActiveRecord::Base.send :include, AbAdmin::Concerns::Silencer
ActiveRecord::Base.send :extend, AbAdmin::Concerns::Silencer
ActiveRecord::Base.send :include, AbAdmin::Concerns::Validations
ActiveRecord::Base.send :include, AbAdmin::Concerns::Fileuploads
+ ActiveRecord::Base.send :extend, AbAdmin::Concerns::TranslationsMacro
ActiveRecord::Base.send :extend, EnumField::EnumeratedAttribute
end
ActiveSupport.on_load :action_mailer do
ActionMailer::Base.send :include, AbAdmin::Mailers::Helpers