Commit 0137fc85 authored by Adrien Kohlbecker's avatar Adrien Kohlbecker

Fix logs menu active state

parent e8970769
- return unless can?(current_user, :read_pod_logs, @project)
- 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
%span
= _('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