Welcome to mirror list, hosted at ThFree Co, Russian Federation.

applications_menu.rb « menus « admin « sidebars « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 741160767358a1b37e4ad335c9cda4ef11ce27c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# frozen_string_literal: true

module Sidebars
  module Admin
    module Menus
      class ApplicationsMenu < ::Sidebars::Admin::BaseMenu
        override :link
        def link
          admin_applications_path
        end

        override :title
        def title
          s_('Admin|Applications')
        end

        override :sprite_icon
        def sprite_icon
          'applications'
        end

        override :active_routes
        def active_routes
          { controller: :applications }
        end
      end
    end
  end
end