Fix IssueEntity create_note_path

This commit is contained in:
Douwe Maan 2017-06-28 12:48:41 -05:00 committed by Fatih Acet
parent cf926f6b7f
commit 73b813117a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class IssueEntity < IssuableEntity
end
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
expose :preview_note_path do |issue|