Sha256: 3c726f45c04a6e46c17e8227007103e92830a621835331583d90d3823cbb2e49
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
module ActiveAdmin module Views class Footer < Component def build(namespace) super id: "footer" @namespace = namespace if footer_text.present? para footer_text else para powered_by_message end end private def footer_text @footer_text ||= @namespace.footer(self) end def powered_by_message I18n.t( "active_admin.powered_by", active_admin: link_to("Active Admin", "https://activeadmin.info"), version: ActiveAdmin::VERSION).html_safe end end end end
Version data entries
4 entries across 4 versions & 2 rubygems