Use a relative link instead of full URL with New Issue button to be consistent
Relates to #3095
This commit is contained in:
parent
c856a7a593
commit
5f47b61cef
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
%ul.dropdown-menu.dropdown-menu-right.project-home-dropdown
|
||||
- if can?(current_user, :create_issue, @project)
|
||||
%li
|
||||
= link_to url_for_new_issue do
|
||||
= link_to url_for_new_issue(@project, only_path: true) do
|
||||
= icon('exclamation-circle fw')
|
||||
New issue
|
||||
- if can?(current_user, :create_merge_request, @project)
|
||||
|
|
Loading…
Reference in a new issue