Skip to content
Snippets Groups Projects
Commit 95f15b14 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Render issues link on issues subnav unless you visit merge request controller

parent d4b2f5d0
No related branches found
No related tags found
No related merge requests found
%ul.nav-links.sub-nav
%div{ class: (container_class) }
- if project_nav_tab?(:issues) && current_controller?(:issues)
- if project_nav_tab?(:issues) && !current_controller?(:merge_requests)
= nav_link(controller: :issues) do
= link_to url_for_project_issues(@project, only_path: true), title: 'Issues' do
%span
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment