Commit a666a2a1 authored by Stan Hu's avatar Stan Hu

Resolve build failures in ee/lib/ee/banzai/filter/epic_reference_filter.rb

parent 9b7c2a90
...@@ -26,12 +26,13 @@ module EE ...@@ -26,12 +26,13 @@ module EE
urls.group_epic_url(group, epic, only_path: context[:only_path]) urls.group_epic_url(group, epic, only_path: context[:only_path])
end end
def data_attributes_for(text, group, object, link: false) def data_attributes_for(text, project, object, link_content: false, link_reference: false)
data_attribute( data_attribute(
original: text, original: text,
link: link, link: link_content,
group: group.id, link_reference: link_reference,
object_sym => object.id group: group.id,
object_sym => object.id
) )
end end
......
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