Commit 1ec12b73 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'ak/fix-menu' into 'master'

Fix logs menu active state

See merge request gitlab-org/gitlab!21740
parents 2ae66ba5 0137fc85
- return unless can?(current_user, :read_pod_logs, @project) - return unless can?(current_user, :read_pod_logs, @project)
- return unless project_nav_tab?(:environments) - return unless project_nav_tab?(:environments)
= nav_link(controller: :logs, action: [:show]) do = nav_link(controller: :logs, action: [:index]) do
= link_to project_logs_path(@project), title: _('Pod logs') do = link_to project_logs_path(@project), title: _('Pod logs') do
%span %span
= _('Pod logs') = _('Pod logs')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment