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

This commit is contained in:
Riyad Preukschas 2012-09-14 05:13:26 +02:00
parent 29c71f2fb9
commit 4fc66ead4f
4 changed files with 3 additions and 3 deletions

View file

@ -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