diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-29 13:30:50 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-03 13:08:52 -0600 |
commit | 6e7e5052374d67c0b3ed6cac3f62a29778d10858 (patch) | |
tree | 675f7e7a6025628c4e34bc4755a1a16a836d4acb /app | |
parent | 0ea54833115ebc47d2e3f82a270b6a0a3334c837 (diff) | |
download | gitlab-ce-6e7e5052374d67c0b3ed6cac3f62a29778d10858.tar.gz |
include all expected instance vars for _show.html.haml template within tests26155-merge-request-tabs-don-t-render-when-no-commits-available
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/notes/_notes_with_form.html.haml | 2 |
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 00b62a595ff..4c12ecac3c9 100644 --- a/app/views/projects/notes/_notes_with_form.html.haml +++ b/app/views/projects/notes/_notes_with_form.html.haml @@ -20,4 +20,4 @@ to post a comment :javascript - var notes = new Notes("#{namespace_project_notes_path(namespace_id: @project.namespace, 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_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}") |