I need to add a few links to certain pages of the application in the ActiveAdmin pages. I can do this using sidebars, but I\'ll have to repeat the code for each of my resour
Thanks @phoet ! Implemented it by overriding the HeaderRenderer instead:
module ActiveAdmin
module Views
class HeaderRenderer
def to_html
title + global_navigation + application_link + utility_navigation
end
def application_link
link_to('Back to Application', root_url)
end
end
end
end