Commit 73b81311 authored by Douwe Maan's avatar Douwe Maan Committed by Fatih Acet

Fix IssueEntity create_note_path

parent cf926f6b
...@@ -23,7 +23,7 @@ class IssueEntity < IssuableEntity ...@@ -23,7 +23,7 @@ class IssueEntity < IssuableEntity
end end
expose :create_note_path do |issue| expose :create_note_path do |issue|
namespace_project_notes_path(issue.project.namespace, issue.project, noteable_type: 'Issue', noteable_id: issue.id, target_type: 'issue', target_id: issue.id) namespace_project_notes_path(issue.project.namespace, issue.project, target_type: 'issue', target_id: issue.id, note: { noteable_type: 'Issue', noteable_id: issue.id })
end end
expose :preview_note_path do |issue| expose :preview_note_path do |issue|
......
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