Class: ActiveAdmin::Views::Pages::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/activeadmin_addons/active_admin_config.rb

Instance Method Summary collapse

Instance Method Details

#build(*args) ⇒ Object



4
5
6
7
8
# File 'lib/activeadmin_addons/active_admin_config.rb', line 4

def build(*args)
  original_build(args)
  body = get_elements_by_tag_name("body").first
  body.set_attribute "data-default-select", ActiveadminAddons.default_select
end

#original_buildObject



2
# File 'lib/activeadmin_addons/active_admin_config.rb', line 2

alias_method :original_build, :build