提交 23ed732e 编写于 作者: D 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册