menu emojis
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user