How do I edit or override the footer of Active_Admin?
Between v1.0.4pre and v.1.0.5pre, the previous method of overriding Footer#build
no longer works well, and the new API is
ActiveAdmin.application.footer = proc {
...
}
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With