Class: ActiveAdmin::Views::Footer

Inherits:
Component
  • Object
show all
Defined in:
lib/active_admin/views/footer.rb

Instance Method Summary collapse

Instance Method Details

#build(namespace) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/active_admin/views/footer.rb', line 5

def build(namespace)
  super class: "page-footer"
  @namespace = namespace

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