Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the ActiveAdmin link in the app?

The link seen as "powered by ActiveAdmin" on every page of the app using this ActiveAdmin gem, can it be removed?? If yes How?? Is there any legality associated with the link??

like image 842
Aks.. Avatar asked Dec 27 '13 05:12

Aks..


1 Answers

You can either provide your custom footer:

ActiveAdmin.setup do |config|
  config.view_factory.footer = MyFooter
end
class MyFooter < ActiveAdmin::Component
  def build
    super(id: "footer")
    para "Copyright #{Date.today.year} Your Company"
  end
end

Or you can provide an alternative translation:

en:
  active_admin:
    powered_by: "Your custom text"
like image 186
seanlinsley Avatar answered Nov 16 '22 10:11

seanlinsley