diff options
Diffstat (limited to 'lib/sidebars/admin/menus/labels_menu.rb')
-rw-r--r-- | lib/sidebars/admin/menus/labels_menu.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/sidebars/admin/menus/labels_menu.rb b/lib/sidebars/admin/menus/labels_menu.rb new file mode 100644 index 00000000000..32b4b53960a --- /dev/null +++ b/lib/sidebars/admin/menus/labels_menu.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Sidebars + module Admin + module Menus + class LabelsMenu < ::Sidebars::Admin::BaseMenu + override :link + def link + admin_labels_path + end + + override :title + def title + s_('Admin|Labels') + end + + override :sprite_icon + def sprite_icon + 'labels' + end + + override :active_routes + def active_routes + { controller: :labels } + end + end + end + end +end |