Sha256: c7420daf855f174952f374299f4527d349ed16a8aa79460e050a1c443c31701d

Contents?: true

Size: 679 Bytes

Versions: 10

Compression:

Stored size: 679 Bytes

Contents

#
# ***** IMPORTANT *****
#
# This file requires hook files with some monkeypatching staff and it is not required by default.
# Please, read code and comments before usage.
#
Dir["#{File.dirname(__FILE__)}/hooks/*.rb"].sort.each do |path|
  require "ab_admin/hooks/#{File.basename(path, '.rb')}"
end

ActiveSupport::XmlMini.backend = 'Nokogiri'

InheritedResources.flash_keys = Responders::FlashResponder.flash_keys = AbAdmin.flash_keys
Responders::FlashResponder.namespace_lookup = true

::SimpleForm.wrapper_mappings ||= {}
::SimpleForm.wrapper_mappings[:uploader] = AbAdmin::Views::ContentOnlyWrapper.instance

CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ab_admin-0.11.0 lib/ab_admin/hooks.rb
ab_admin-0.10.0 lib/ab_admin/hooks.rb
ab_admin-0.9.0 lib/ab_admin/hooks.rb
ab_admin-0.8.3 lib/ab_admin/hooks.rb
ab_admin-0.8.2 lib/ab_admin/hooks.rb
ab_admin-0.8.1 lib/ab_admin/hooks.rb
ab_admin-0.8.0 lib/ab_admin/hooks.rb
ab_admin-0.7.0 lib/ab_admin/hooks.rb
ab_admin-0.6.1 lib/ab_admin/hooks.rb
ab_admin-0.6.0 lib/ab_admin/hooks.rb