lib/ab_admin/engine.rb in ab_admin-0.2.3 vs lib/ab_admin/engine.rb in ab_admin-0.3.0
- old
+ new
@@ -4,10 +4,10 @@
module AbAdmin
class Engine < ::Rails::Engine
engine_name 'ab_admin'
initializer 'ab_admin.setup' do
- ::Mime::Type.register "application/vnd.ms-excel", :xls
+ ::Mime::Type.register 'application/vnd.ms-excel', :xls
ActiveSupport.on_load :active_record do
ActiveRecord::Base.send :include, AbAdmin::CarrierWave::Glue
ActiveRecord::Base.send :include, AbAdmin::Utils::Mysql
ActiveRecord::Base.send :include, AbAdmin::Concerns::DeepCloneable