class ActiveAdmin::Views::Footer

Public Instance Methods

build(namespace) click to toggle source
Calls superclass method
# File lib/active_admin/views/footer.rb, line 5
def build(namespace)
  super id: "footer"
  @namespace = namespace

  if footer_text.present?
    para footer_text
  else
    para powered_by_message
  end
end

Private Instance Methods

powered_by_message() click to toggle source
# File lib/active_admin/views/footer.rb, line 22
def powered_by_message
  I18n.t('active_admin.powered_by',
    active_admin: link_to("Active Admin", "http://www.activeadmin.info"),
    version: ActiveAdmin::VERSION).html_safe
end