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



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

def build(namespace)
  super id: "footer"
  @namespace = namespace

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