menu emojis

This commit is contained in:
2026-07-29 09:53:48 +02:00
parent 31e7fad4a0
commit 60b3948522
8 changed files with 12 additions and 15 deletions
+5 -9
View File
@@ -20,15 +20,11 @@ ActiveAdmin.setup do |config|
html_options: { target: "_blank", title: "Open site" },
priority: 1
admin.add_logout_button_to_menu menu
end
admin.build_menu do |menu|
menu.add id: "go_to_site",
label: "🏠 Go to Site",
url: ENV.fetch("SITE_URL", "https://teletypegames.org"),
html_options: { target: "_blank" },
priority: 0
menu.add id: "logout",
label: "🚪 Logout",
url: :destroy_admin_user_session_path,
html_options: { method: :delete },
priority: 99
end
end
end