Reverted label link helper

This commit is contained in:
Phil Hughes 2016-04-21 18:47:16 +01:00
parent 97baf41adc
commit c079ae273c

View file

@ -37,7 +37,7 @@ module LabelsHelper
link = send("namespace_project_#{type.to_s.pluralize}_path", link = send("namespace_project_#{type.to_s.pluralize}_path",
project.namespace, project.namespace,
project, project,
label_name: [label.name]) label_name: label.name)
if block_given? if block_given?
link_to link, &block link_to link, &block