summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-03-06 10:42:08 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-03-06 10:42:08 +0000
commit633aaf2b6123359e4c7bfce441022a68b2f21222 (patch)
tree255a09114c072005de5a6e3524efd59189df88d5 /app/views/projects
parent4a6bc1f6a415b82e88473f3bd076f95fb4973562 (diff)
parentee318727774dbec75d5506a4b4749fc4236206d5 (diff)
downloadgitlab-ce-633aaf2b6123359e4c7bfce441022a68b2f21222.tar.gz
Merge branch 'etag-notes-polling' into 'master'
Use ETag to improve performance of issue notes polling Closes #27582 See merge request !9036
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/notes/_notes_with_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_notes_with_form.html.haml b/app/views/projects/notes/_notes_with_form.html.haml
index 08c73d94a09..90a150aa74c 100644
--- a/app/views/projects/notes/_notes_with_form.html.haml
+++ b/app/views/projects/notes/_notes_with_form.html.haml
@@ -23,4 +23,4 @@
to post a comment
:javascript
- var notes = new Notes("#{namespace_project_notes_path(namespace_id: @project.namespace, project_id: @project, target_id: @noteable.id, target_type: @noteable.class.name.underscore)}", #{@notes.map(&:id).to_json}, #{Time.now.to_i}, "#{diff_view}")
+ var notes = new Notes("#{namespace_project_noteable_notes_path(namespace_id: @project.namespace, project_id: @project, target_id: @noteable.id, target_type: @noteable.class.name.underscore)}", #{@notes.map(&:id).to_json}, #{Time.now.to_i}, "#{diff_view}")