I want to add a link like link_to (\"Edit yout profile\", edit_user (current_user)) at header in ActiveAdmin. Is that possible ?!
To me the @kristinalim answer almost work but his custom_path do not work, this give me a error. The next code work for me (I have to define the routes)
routes = Rails.application.routes.url_helpers
config.namespace :admin do |admin|
admin.build_menu do |menu|
menu.add :label => 'Custom Menu' do |submenu|
submenu.add label: 'Users', url: routes.admin_users_path
end
end
end