Fix cancel link on issuable edit form

This commit is contained in:
Alfredo Sumaran 2016-03-24 14:29:09 -05:00
parent 5a460c3796
commit 7f43049012

View file

@ -135,4 +135,4 @@
method: :delete, class: 'btn btn-grouped' do
= icon('trash-o')
Delete
= link_to 'Cancel', namespace_project_issue_path(@project.namespace, @project, issuable), class: 'btn btn-grouped btn-cancel'
= link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), class: 'btn btn-grouped btn-cancel'