GitLab steht Mittwoch, den 23. September, zwischen 10:00 und 12:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit 23ed732e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'use-path-for-new-issue-button' into 'master'

Use a relative link instead of full URL with New Issue button to be consistent

Relates to #3095

See merge request !1631
parents 329a5555 5f47b61c
......@@ -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)
......
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