Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-28 21:45:27 +0300
committerFatih Acet <acetfatih@gmail.com>2017-07-21 22:35:25 +0300
commit01496486382b90dd6642057370a9c710c80d2b41 (patch)
treee3d8565538233e6f276869604b143797c2fa389d /app
parent73b813117a5297aba8bcf38a4a3f98e471dda82b (diff)
Remove noteable ID and type from IssueEntity create_note_path
Diffstat (limited to 'app')
-rw-r--r--app/serializers/issue_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_entity.rb b/app/serializers/issue_entity.rb
index e0a8cf7570a..fbdd9f94763 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, target_type: 'issue', target_id: issue.id, note: { noteable_type: 'Issue', noteable_id: issue.id })
+ namespace_project_notes_path(issue.project.namespace, issue.project, target_type: 'issue', target_id: issue.id)
end
expose :preview_note_path do |issue|