From 876dc7bacb5c2835537d13dfedd2f7ed55463c6b Mon Sep 17 00:00:00 2001
From: Douwe Maan <douwe@selenight.nl>
Date: Fri, 13 May 2016 17:25:00 -0500
Subject: [PATCH] Rename diff_with_notes partial.

---
 app/views/projects/notes/_discussion.html.haml                  | 2 +-
 ...acy_diff_with_notes.html.haml => _diff_with_notes.html.haml} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename app/views/projects/notes/discussions/{_legacy_diff_with_notes.html.haml => _diff_with_notes.html.haml} (100%)

diff --git a/app/views/projects/notes/_discussion.html.haml b/app/views/projects/notes/_discussion.html.haml
index aa26d8e87f1..7869d6413d8 100644
--- a/app/views/projects/notes/_discussion.html.haml
+++ b/app/views/projects/notes/_discussion.html.haml
@@ -41,6 +41,6 @@
 
         .discussion-body.js-toggle-content{ class: ("hide" unless expanded) }
           - if note.diff_note?
-            = render "projects/notes/discussions/legacy_diff_with_notes", discussion_notes: discussion_notes
+            = render "projects/notes/discussions/diff_with_notes", discussion_notes: discussion_notes
           - else
             = render "projects/notes/discussions/notes", discussion_notes: discussion_notes
diff --git a/app/views/projects/notes/discussions/_legacy_diff_with_notes.html.haml b/app/views/projects/notes/discussions/_diff_with_notes.html.haml
similarity index 100%
rename from app/views/projects/notes/discussions/_legacy_diff_with_notes.html.haml
rename to app/views/projects/notes/discussions/_diff_with_notes.html.haml
-- 
GitLab