diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-02 14:50:33 +0100 |
---|---|---|
committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-02 14:50:33 +0100 |
commit | ebac9a3a16e52ab2f0e8901f1b46be92d368507c (patch) | |
tree | 6d013ccf9f052fe6a32c618e2bb0bed84b7518d4 | |
parent | 2ed6cd9e469ffcdb60f21d1738de1eff8c258432 (diff) | |
download | gitlab-ce-remove_redundant_params_from_new_issue_url.tar.gz |
remove redundant url params from new issue urlremove_redundant_params_from_new_issue_url
-rw-r--r-- | app/views/projects/issues/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml index efa7642b2dc..2a020bd8936 100644 --- a/app/views/projects/issues/index.html.haml +++ b/app/views/projects/issues/index.html.haml @@ -15,7 +15,7 @@ Subscribe = render 'shared/issuable/search_form', path: namespace_project_issues_path(@project.namespace, @project) - if can? current_user, :create_issue, @project - = link_to new_namespace_project_issue_path(@project.namespace, @project, issue: { assignee_id: @issuable_finder.assignee.try(:id), milestone_id: @issuable_finder.milestones.try(:first).try(:id) }), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do + = link_to new_namespace_project_issue_path(@project.namespace, @project), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do = icon('plus') New Issue |