diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-28 20:48:41 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-07-21 22:35:25 +0300 |
commit | 73b813117a5297aba8bcf38a4a3f98e471dda82b (patch) | |
tree | cd715477b4f06933be7e4cd7db3194333c968542 /app | |
parent | cf926f6b7f412c194a47329f101dee1adc6d19dc (diff) |
Fix IssueEntity create_note_path
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/issue_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_entity.rb b/app/serializers/issue_entity.rb index 62db7f6aade..e0a8cf7570a 100644 --- a/app/serializers/issue_entity.rb +++ b/app/serializers/issue_entity.rb @@ -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| |