How do I edit or override the footer of ActiveAdmin?

前端 未结 6 1247
南旧
南旧 2021-02-14 09:11

How do I edit or override the footer of Active_Admin?

6条回答
  •  伪装坚强ぢ
    2021-02-14 09:41

    Newer version of ActiveAdmin provides configurable option to set footer.

    ActiveAdmin Footer Customization

    config.footer = "MyApp Revision v1.3"

    Footer can be configured using proc, where you can even render partial.

    ActiveAdmin Footer Customization using proc

    config.footer = proc { "Enjoy MyApp Revision 123, #{controller.current_admin_user.try(:email)}!" }

    PR which added the ability to customize the footer

提交回复
热议问题