How do I edit or override the footer of ActiveAdmin?

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

How do I edit or override the footer of Active_Admin?

6条回答
  •  天涯浪人
    2021-02-14 09:45

    If all you want to do is change or delete the 'powered by' message, what you can do is change its value in a locale file. Example, edit config/locales/en.yml

    And use something like this:

    en:                                                                              
      active_admin:                                                                  
        powered_by: "Powered by hamsters"
    

    Why this works:

    The default locale for a rails app is english, the en locale file.

提交回复
热议问题