Commit 4fc66ead authored by Riyad Preukschas's avatar Riyad Preukschas

Rename 'notes/show' partial to 'notes/note'

parent 29c71f2f
No related merge requests found
......@@ -5,7 +5,7 @@
$('.note-form-holder #preview-link').text('Preview');
$('.note-form-holder #preview-note').hide();
$('.note-form-holder').show();
NoteList.appendNewNote(#{note.id}, "#{escape_javascript(render "notes/show", note: note)}");
NoteList.appendNewNote(#{note.id}, "#{escape_javascript(render "notes/note", note: note)}");
- else
:plain
......
- @notes.each do |note|
- next unless note.author
= render partial: "notes/show", locals: {note: note}
= render "notes/note", note: note
%tr.line_notes_row
%td{colspan: 3}
%ul
= render "notes/show", note: note
= render "notes/note", note: note
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment