Sha256: b0652dc7ff6563b1129e2dc83243fbf25e6d330ed40b09de2695c3cb6d87686e

Contents?: true

Size: 255 Bytes

Versions: 5

Compression:

Stored size: 255 Bytes

Contents

class ActiveAdmin::Views::Pages::Base
  alias_method :original_add_classes_to_body, :add_classes_to_body

  def add_classes_to_body
    original_add_classes_to_body
    @body.set_attribute "data-default-select", ActiveadminAddons.default_select
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin_addons-1.1.0 lib/activeadmin_addons/active_admin_config.rb
activeadmin_addons-1.0.1 lib/activeadmin_addons/active_admin_config.rb
activeadmin_addons-1.0.0 lib/activeadmin_addons/active_admin_config.rb
activeadmin_addons-0.12.0 lib/activeadmin_addons/active_admin_config.rb
activeadmin_addons-0.11.0 lib/activeadmin_addons/active_admin_config.rb