# config/initializers/active_admin.rb # ...rest of the initializer here... module AdminPageLayoutOverride def build(*args) # you can move the call to super at the end, if you wish # to insert things at the begining of the page super # this will be added at the end of within @body do render partial: '...' end # this will be added at the end of within @head do text_node(javascript_include_tag('...)) end end end ActiveAdmin::Views::Pages::Base.send :prepend, AdminPageLayoutOverride